Skip to content

Commit

Permalink
feat(CLI): Deprecate bin/serverless binary
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed May 22, 2020
1 parent dd902e8 commit a60d2c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/serverless
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@

'use strict';

require('../lib/utils/logDeprecation')(
'BIN_SERVERLESS',
'bin/serverless is deprecated, use bin/serverless.js instead'
);

require('./serverless.js');
6 changes: 6 additions & 0 deletions docs/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ layout: Doc
-->

# Serverless Framework Deprecations

<a name="BIN_SERVERLESS"><div>&nbsp;</div></a>

## `bin/serverless`

Please use `bin/serverless.js` instead. `bin/serverless` will be removed with v2.0.0

0 comments on commit a60d2c7

Please sign in to comment.