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

Putting verbose flag first gives parse error #25

Closed
poshaughnessy opened this issue Jan 18, 2018 · 1 comment
Closed

Putting verbose flag first gives parse error #25

poshaughnessy opened this issue Jan 18, 2018 · 1 comment

Comments

@poshaughnessy
Copy link
Contributor

When I first tried adding --verbose, I tried to put it as the first parameter. This gives an error:

degit --verbose sveltejs/sapper-template my-app
/home/[obfuscated]/.nvm/versions/node/v8.9.1/lib/node_modules/degit/index.js:237
		throw new DegitError(`could not parse ${src}`, {
		^

Error: could not parse my-app
    at parse (/home/[obfuscated]/.nvm/versions/node/v8.9.1/lib/node_modules/degit/index.js:237:9)

I subsequently realised I should put it at the end. But it would be nice for the above ordering to work too?

@Rich-Harris
Copy link
Owner

thanks! fixed in 2.0.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