Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankatliarchuk committed Oct 29, 2022
1 parent 3a97856 commit c4d1cbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/commands/danger-process.ts
Expand Up @@ -45,7 +45,7 @@ program
.allowUnknownOption(true)

setSharedArgs(program)
program.action((process_name) => (subprocessName = process_name)).parse(process.argv)
program.action(process_name => (subprocessName = process_name)).parse(process.argv)

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

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

if (platform) {
jsonDSLGenerator(platform, source, app).then((dangerJSONDSL) => {
jsonDSLGenerator(platform, source, app).then(dangerJSONDSL => {
if (!subprocessName) {
// Just pipe it out to the CLI
const processInput = prepareDangerDSL(dangerJSONDSL)
Expand Down

0 comments on commit c4d1cbf

Please sign in to comment.