Skip to content

Commit

Permalink
better description for replaceRegexResult
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Apr 22, 2024
1 parent fec718b commit 9cf7e9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/actions/loadFilesInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,9 @@ const processFileSchema = (filePath, processOnlyThisFile) => {
let fileContent = filesContentCache.getFileContent(filePath);

// Captura as expressoes regulares, salvam ela em um objeto para ser usado
// posteriormente
// posteriormente no compiler.js através do "injectFoundRegExps.js"
const replaceRegexResult = replaceRegexWithReferences(fileContent);

if (replaceRegexResult.hasExpressions) {
// console.log(replaceRegexResult);
fileContent = replaceRegexResult.code;
regexObjects.addExpressions(replaceRegexResult.expressions);
}
Expand Down

0 comments on commit 9cf7e9f

Please sign in to comment.