diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f8510e63..6323f992e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ## Master +* Improve path generator for danger-runner. * Update the PR DSL to include bots. [@orta][] ## 3.1.7 @@ -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 diff --git a/source/commands/utils/dangerRunToRunnerCLI.ts b/source/commands/utils/dangerRunToRunnerCLI.ts index 0d2b02744..ce9deb20c 100644 --- a/source/commands/utils/dangerRunToRunnerCLI.ts +++ b/source/commands/utils/dangerRunToRunnerCLI.ts @@ -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)