diff --git a/bin/now-scale.js b/bin/now-scale.js index ab198fb..ec4c4c2 100755 --- a/bin/now-scale.js +++ b/bin/now-scale.js @@ -166,6 +166,10 @@ async function run({ token, config: { currentTeam } }) { error(`Could not find any deployments matching ${id}`) return process.exit(1) } + if (match.type === 'STATIC') { + error(`Could not scale static deployment: ${id}`) + return process.exit(1) + } const { min, max } = guessParams()