Merge pull request #8037 from backstage/rugvip/issuefix
scripts: tweak snyk issue script to catch existing license issues
This commit is contained in:
Regular → Executable
+2
-1
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env yarn ts-node --transpile-only
|
||||
/*
|
||||
* Copyright 2021 The Backstage Authors
|
||||
*
|
||||
@@ -33,7 +34,7 @@ const argv = minimist(process.argv.slice(2));
|
||||
const GH_OWNER = 'backstage';
|
||||
const GH_REPO = 'backstage';
|
||||
const SNYK_GH_LABEL = 'snyk-vulnerability';
|
||||
const SNYK_ID_REGEX = /\[([A-Z0-9-:]+)]/i;
|
||||
const SNYK_ID_REGEX = /\[([^\]]+)]/i;
|
||||
|
||||
const isDryRun = 'dryrun' in argv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user