Skip to content

Commit

Permalink
fix(cli): Fix bug in cli that was stopping correct outputfilename for…
Browse files Browse the repository at this point in the history
…m being written.
  • Loading branch information
ryardley committed Sep 1, 2016
1 parent 47b9419 commit 6897e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modules/file/cliflags.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
name: 'outputFileName',
name: 'outputFilename',
description: 'The name of the output file.',
flags: '-o --out <filename>',
long: 'The name of the output file. This file will be added ' +
Expand Down
2 changes: 1 addition & 1 deletion test/indexr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down

0 comments on commit 6897e8f

Please sign in to comment.