Skip to content
Snippets Groups Projects
Commit 793eb412 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

refactor: split gradle string to avoid unnecessary escape

parent 37e4ef12
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,8 @@ function moduleStringVariableExpressionVersionFormatMatch(
dependency: GradleDependency
): RegExp {
return new RegExp(
`${groovyQuotes}${dependency.group}:${dependency.name}:\\$\{([^{].*?)}${groovyQuotes}`
`${groovyQuotes}${dependency.group}:${dependency.name}:\\$` +
`{([^{].*?)}${groovyQuotes}`
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment