Skip to content

Commit

Permalink
fix: pass undefined instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
rene84 committed Nov 21, 2023
1 parent 065e1f4 commit 3fcbfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/impl/rp-build-task-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class RpBuildTaskPlugin implements IBuildTaskPlugin<IRpBuildTaskConfig, I
}

async performRemove(binding: IPluginBinding<IRpTask> /* , resolver: CfnExpressionResolver*/): Promise<void> {
const cfn = AwsUtil.GetCloudFormationService(binding.target.accountId, binding.target.region, binding.task.taskRoleName, null, AwsUtil.GetIsPartition());
const cfn = AwsUtil.GetCloudFormationService(binding.target.accountId, binding.target.region, binding.task.taskRoleName, undefined, AwsUtil.GetIsPartition());
let listVersionsResponse: CFN.ListTypeVersionsCommandOutput;
do {
listVersionsResponse = await cfn.send(
Expand Down

0 comments on commit 3fcbfc2

Please sign in to comment.