Skip to content

Commit

Permalink
fix(AWS Deploy): Ensure right code for deploy -f deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Aug 12, 2021
1 parent 5c9ca56 commit 90877d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Deploy {
this.serverless.processedInput.commands.length === 1 &&
this.serverless.processedInput.commands[0] === 'deploy';
if (isDeployCommand && this.options.function) {
this.serverless.logDeprecation(
this.serverless._logDeprecation(
'CLI_DEPLOY_FUNCTION_OPTION',
'Starting with v3.0.0, `--function` or `-f` option for `deploy` command will be removed. In order to deploy a single function, please use `deploy function` command instead.'
);
Expand Down

0 comments on commit 90877d5

Please sign in to comment.