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

Scale command validation issues #478

Closed
Dids opened this issue May 2, 2017 · 0 comments
Closed

Scale command validation issues #478

Dids opened this issue May 2, 2017 · 0 comments

Comments

@Dids
Copy link

Dids commented May 2, 2017

Just tried using the now scale command, and could've sworn I saw now scale 1 being used in the Zeit Day stream, but that actually throws an error:

> Error! Unknown error: TypeError: id.replace is not a function
TypeError: id.replace is not a function
    at deployments.find.d (/thebox/home/travis/build/zeit/now-cli/bin/now-scale.js:145:16)
    at Array.find (native)
    at run (/thebox/home/travis/build/zeit/now-cli/bin/now-scale.js:143:29)
    at process._tickCallback (internal/process/next_tick.js:103:7)

Naturally this should complain about the syntax, not throw an error.

Using the correct syntax (now scale <id/domain/alias> 1) worked fine.

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

1 participant