carrot / ship

⛔️ currently unmaintained ⛔️
Other
151 stars 14 forks source link

throw new TypeError("glob pattern string required") #10

Closed adamjonas closed 10 years ago

adamjonas commented 10 years ago
/usr/local/lib/node_modules/ship/node_modules/minimatch/minimatch.js:127
    throw new TypeError("glob pattern string required")
          ^
TypeError: glob pattern string required
    at minimatch (/usr/local/lib/node_modules/ship/node_modules/minimatch/minimatch.js:127:11)
    at /usr/local/lib/node_modules/ship/lib/deployers/s3/index.coffee:202:18
    at Function.map (/usr/local/lib/node_modules/ship/node_modules/lodash/dist/lodash.js:3508:27)
    at lodash.ctor.(anonymous function) [as map] (/usr/local/lib/node_modules/ship/node_modules/lodash/dist/lodash.js:5924:31)
    at remove_ignores (/usr/local/lib/node_modules/ship/lib/deployers/s3/index.coffee:201:30)
    at /usr/local/lib/node_modules/ship/lib/deployers/s3/index.coffee:137:25
    at /usr/local/lib/node_modules/ship/node_modules/readdirp/readdirp.js:268:9
    at /usr/local/lib/node_modules/ship/node_modules/readdirp/readdirp.js:236:17
    at /usr/local/lib/node_modules/ship/node_modules/readdirp/readdirp.js:236:17
    at /usr/local/lib/node_modules/ship/node_modules/readdirp/readdirp.js:228:11
    at /usr/local/lib/node_modules/ship/node_modules/readdirp/readdirp.js:168:9
    at LOOP (fs.js:1356:14)
    at process._tickCallback (node.js:415:13)

My ship.conf file is as follows:

s3:
  bucket: 'XXXXXXX'
  access_key: 'XXXXXXXXXXXXXXXXXXXXXXX'
  secret_key: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
jescalan commented 10 years ago

Ah sorry it's probably a small bug with ignores. Just drop in

ignore: []

and that should resolve it