diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aad92c0de3..2791286e6c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# 1.33.1 (15.11.2018) + - [fix issue with `sls deploy --verbose --stage foobar`](https://github.com/serverless/serverless/pull/5492) + +## Meta + - [Comparison since last release](https://github.com/serverless/serverless/compare/v1.33.0...v1.33.1) + + # 1.33.0 (15.11.2018) - [2116 consistent errors missing config](https://github.com/serverless/serverless/pull/5298) - [Update plugin version of google-nodejs template](https://github.com/serverless/serverless/pull/5473) diff --git a/lib/classes/CLI.test.js b/lib/classes/CLI.test.js index 30237c50826..755a9b51732 100644 --- a/lib/classes/CLI.test.js +++ b/lib/classes/CLI.test.js @@ -402,6 +402,15 @@ describe('CLI', () => { expect(inputToBeProcessed).to.deep.equal(expectedObject); }); + + it('should be able to parse --verbose --stage foobar', () => { + cli = new CLI(serverless, ['deploy', '--verbose', '--stage', 'foobar']); + const inputToBeProcessed = cli.processInput(); + + const expectedObject = { commands: ['deploy'], options: { verbose: true, stage: 'foobar' } }; + + expect(inputToBeProcessed).to.deep.equal(expectedObject); + }); }); describe('Integration tests', function () { diff --git a/package-lock.json b/package-lock.json index 200100fc5f8..c9365869e87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "serverless", - "version": "1.33.0", + "version": "1.33.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 19faf507331..9821d5325bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless", - "version": "1.33.0", + "version": "1.33.1", "engines": { "node": ">=4.0" },