aboutsummaryrefslogtreecommitdiff
path: root/legacy_license_check.js
diff options
context:
space:
mode:
Diffstat (limited to 'legacy_license_check.js')
-rw-r--r--legacy_license_check.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy_license_check.js b/legacy_license_check.js
index 00d341e..f783129 100644
--- a/legacy_license_check.js
+++ b/legacy_license_check.js
@@ -40,7 +40,7 @@ var stripLicenseToRegexp = function (license) {
item = license.licenseFragments[i];
item.regex = match_utils.removeNonalpha(item.text);
item.regex = new RegExp(
- match_utils.replaceTokens(item.regex), 'g');
+ match_utils.replaceTokens(item.regex), '');
}
return license;
};