bannertime / generator-bannertime

Yeoman generator to help build and manage HTML5 banner campaigns.
https://bannertime.github.io/
58 stars 35 forks source link

fix: TypeError on deploy script #107

Closed joemidi closed 6 years ago

joemidi commented 6 years ago

Following this error:

TypeError: "file" argument must be a non-empty string
    at normalizeSpawnArguments (child_process.js:381:11)
    at spawnSync (child_process.js:510:38)
    at execSync (child_process.js:626:13)
    at Gulp.<anonymous> (/dev-box/my-banner-time/gulpfile.js/tasks/deploy.js:8:3)
    at module.exports (/dev-box/my-banner-time/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/dev-box/my-banner-time/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/dev-box/my-banner-time/node_modules/orchestrator/index.js:214:10)
    at /dev-box/my-banner-time/node_modules/orchestrator/index.js:279:18
    at finish (/dev-box/my-banner-time/node_modules/orchestrator/lib/runTask.js:21:8)
    at module.exports (/dev-box/my-banner-time/node_modules/orchestrator/lib/runTask.js:60:3)

Line 8 of deploy.js should not use an array as its first argument.