Skip to content

Commit

Permalink
Merge pull request #524 from ionutmiftode/mifi/improve-dangerRunToRun…
Browse files Browse the repository at this point in the history
…nerCLI-path-generator

improve dangerRunToRunnerCLI path generator
  • Loading branch information
orta authored Mar 5, 2018
2 parents d55f8b1 + 161a4f4 commit 7793031
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

## Master

* Improve path generator for danger-runner.
* Update the PR DSL to include bots. [@orta][]

## 3.1.7
Expand Down Expand Up @@ -906,3 +907,4 @@ Not usable for others, only stubs of classes etc. - [@orta][]
[@wizardishungry]: https://github.com/wizardishungry
[@hongrich]: https://github.com/hongrich
[@peterjgrainger]: https://github.com/peterjgrainger
[@mifi]: https://github.com/ionutmiftode
2 changes: 1 addition & 1 deletion source/commands/utils/dangerRunToRunnerCLI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const dangerRunToRunnerCLI = (argv: string[]) => {
// convert
let newJSFile = argv[1]
usesProcessSeparationCommands.forEach(name => {
newJSFile = newJSFile.replace("-" + name, "-runner")
newJSFile = newJSFile.replace("danger-" + name, "danger-runner")
})

newCommand.push(newJSFile)
Expand Down

0 comments on commit 7793031

Please sign in to comment.