Skip to content

Commit

Permalink
Support new TS
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jun 29, 2021
1 parent 53e61cd commit 712eaf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/ci_source/get_ci_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function getCISourceForExternal(env: Env, modulePath: string): Prom
const moduleConstructor = externalModule.default || externalModule
resolve(new moduleConstructor(env))
}
resolve()
resolve(undefined)
})
})
}
Expand Down
1 change: 1 addition & 0 deletions source/commands/utils/runDangerSubprocess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const messageToSendDSL = "danger://send-dsl"
// Sanitizes the DSL so for sending via STDOUT
export const prepareDangerDSL = (dangerDSL: DangerDSLJSONType) => {
if (dangerDSL.github && dangerDSL.github.api) {
// @ts-ignore
delete dangerDSL.github.api
}

Expand Down

0 comments on commit 712eaf4

Please sign in to comment.