Skip to content

Commit 6c7f87c

Browse files
committed
Add missing safeAddNagSuppressionGroup function
1 parent 8c1ca3d commit 6c7f87c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,7 @@ const safeAddNagSuppression = (stack: Stack, path: string, suppressions: Array<N
203203
console.log(`Could not find path ${path}: ${err}`)
204204
}
205205
}
206+
207+
const safeAddNagSuppressionGroup = (stack: Stack, paths: Array<string>, suppressions: Array<NagPackSuppression>) => {
208+
paths.forEach(path => safeAddNagSuppression(stack, path, suppressions))
209+
}

0 commit comments

Comments
 (0)