Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gobble fails on nonexistent folder #12

Closed
martypdx opened this issue Oct 13, 2014 · 2 comments
Closed

Gobble fails on nonexistent folder #12

martypdx opened this issue Oct 13, 2014 · 2 comments

Comments

@martypdx
Copy link

Shouldn't kill gobble on bad directory?

GOBBLE WARNING The 'assets/js/vendor' directory does not exist!
GOBBLE INFO    59-sassFilter transformation finished in 15ms
GOBBLE INFO    60-myplugin transformation finished in 1ms
GOBBLE INFO    61-ractive transformation finished in 6ms
GOBBLE INFO    55-include transformation finished in 1ms
GOBBLE INFO    56-es6transpiler transformation finished in 14ms
GOBBLE INFO    62-merge finished in 3ms
GOBBLE INFO    63-browserify transformation finished in 990ms
GOBBLE INFO    58-sass transformation finished in 4ms
TypeError: Cannot read property 'length' of undefined
    at /Users/marty/ractive-project/node_modules/gobble/lib/file/ls.js:24:25
    at ReaddirReq.Req.done (/Users/marty/ractive-project/node_modules/gobble/node_modules/graceful-fs/graceful-fs.js:141:5)
    at ReaddirReq.done (/Users/marty/ractive-project/node_modules/gobble/node_modules/graceful-fs/graceful-fs.js:88:22)
    at Object.oncomplete (fs.js:107:15)
@Rich-Harris
Copy link
Contributor

On reflection, yes, it should

@Rich-Harris
Copy link
Contributor

Fixed and released in 0.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants