Skip to content

Commit

Permalink
Fix output path option reading
Browse files Browse the repository at this point in the history
  • Loading branch information
loostro committed Mar 20, 2017
1 parent b92e461 commit 0146c29
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/src/main/Application.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/main/Application.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ramlunit",
"version": "3.0.1",
"version": "3.0.2",
"description": "Validate RAML and generate JUnit-like report.",
"author": "Piotr Gołębiewski <loostro@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/main/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Application {
.parse(process.argv)

const inputPath = path.resolve(cli.args[0] || 'main.raml')
const outputPath = path.resolve(cli.optionFor('output') || 'ramlunit-report.xml')
const outputPath = path.resolve(cli.output || 'ramlunit-report.xml')
const verbose = !!cli.debug

console.log(`Running RamlUnit v${project.version} in ${verbose ? 'debug' : 'regular'} mode`)
Expand Down

0 comments on commit 0146c29

Please sign in to comment.