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
Deploy programmatically with option cwd doesn't work in version 4.2.1 and 5.1.1 #961
Comments
I have kept using version 3.19.3 as a last resort, since 4.x.x and 5.x.x doesn't work for me. But today, I got this error when trying to do a deploy with firebase-tools module.
Anybody who may help look into this issue? |
@yifanyang Thank you for the report. I've gone ahead and created #976 to fix this issue - your proposed solution is fine. Older versions starting recently will return a This version will land a new |
Great! Thank you! |
Version info
4.2.1 and 5.1.1
Platform Information
OS X
Steps to reproduce
Run deployment programmatically as showed in the readme file.
Expected behavior
Deployment succeeded.
Actual behavior
The above code works in version 3.19.3, but failed in 4.2.1 and 5.1.1 with below message:
It seems like the value of
cwd
inoptions
does not get picked any more.Suggested fix ?
A simple code change as below would work in my case. It could pass
npm test
, but not sure whether it introduces any side effect.The text was updated successfully, but these errors were encountered: