Skip to content
Snippets Groups Projects
Commit 7889a5b0 authored by michael.minelli's avatar michael.minelli
Browse files

TypeScriptExtension => Suppress IDEA warning

parent 42e96692
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ function registerStringCapitalizeName() {
function registerStringConvertWithEnvVars() {
String.prototype.convertWithEnvVars = function (this: string): string {
return this.replace(/\${?([a-zA-Z0-9_]+)}?/g, (match: string, p1: string) => {
return this.replace(/\${?([a-zA-Z0-9_]+)}?/g, (_match: string, p1: string) => {
return process.env[p1] || '';
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment