Skip to content

Commit c4d1cbf

Browse files
committedOct 29, 2022
wip
1 parent 3a97856 commit c4d1cbf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎source/commands/danger-process.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ program
4545
.allowUnknownOption(true)
4646

4747
setSharedArgs(program)
48-
program.action((process_name) => (subprocessName = process_name)).parse(process.argv)
48+
program.action(process_name => (subprocessName = process_name)).parse(process.argv)
4949

5050
// The dynamic nature of the program means typecasting a lot
5151
// use this to work with dynamic properties
@@ -55,7 +55,7 @@ if (process.env["DANGER_VERBOSE"] || app.verbose) {
5555
global.verbose = true
5656
}
5757

58-
getRuntimeCISource(app).then((source) => {
58+
getRuntimeCISource(app).then(source => {
5959
// This does not set a failing exit code
6060
if (source && !source.isPR) {
6161
console.log("Skipping Danger due to this run not executing on a PR.")
@@ -73,7 +73,7 @@ getRuntimeCISource(app).then((source) => {
7373
}
7474

7575
if (platform) {
76-
jsonDSLGenerator(platform, source, app).then((dangerJSONDSL) => {
76+
jsonDSLGenerator(platform, source, app).then(dangerJSONDSL => {
7777
if (!subprocessName) {
7878
// Just pipe it out to the CLI
7979
const processInput = prepareDangerDSL(dangerJSONDSL)

0 commit comments

Comments
 (0)
Please sign in to comment.