From 99c36f25f5e1e4ca4160e63fa91508429db7228e Mon Sep 17 00:00:00 2001 From: Rudi Yardley Date: Thu, 1 Sep 2016 21:23:30 +1000 Subject: [PATCH] fix(cli): Fix bug in cli that was stopping correct outputfilename form being written. --- lib/modules/file/cliflags.js | 2 +- test/indexr.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/file/cliflags.js b/lib/modules/file/cliflags.js index e498aa3..e4d4042 100644 --- a/lib/modules/file/cliflags.js +++ b/lib/modules/file/cliflags.js @@ -1,5 +1,5 @@ export default { - name: 'outputFileName', + name: 'outputFilename', description: 'The name of the output file.', flags: '-o --out ', long: 'The name of the output file. This file will be added ' + diff --git a/test/indexr.js b/test/indexr.js index 4343a77..528113d 100644 --- a/test/indexr.js +++ b/test/indexr.js @@ -359,7 +359,7 @@ describe('indexr program', () => { const expected = { inputFolder: '.', options: { - outputFileName: 'index.js', + outputFilename: 'index.js', }, }; assert.deepEqual(expected, actual, 'Function did not return expected output.');