Skip to content

Commit

Permalink
Merge pull request #758 from Accenture/bugfix/747-code-snippets-made-…
Browse files Browse the repository at this point in the history
…up-of-ssjs-are-not-saved-as-ssjs

#747: CHORE clean up logs
  • Loading branch information
JoernBerkefeld authored Feb 20, 2023
2 parents 4ddac12 + 4db81cf commit 3c60fe5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,17 +622,14 @@ const Util = {
/* eslint-disable unicorn/prefer-ternary */
if (regexMatches[1].includes('<script')) {
// nested script found
Util.logger.debug('nested script found');
return null;
} else {
// no nested script found
Util.logger.debug('+++ script found +++');
return regexMatches[1];
}
/* eslint-enable unicorn/prefer-ternary */
}
// no script found
Util.logger.debug('no script found');
return null;
},
};
Expand Down

0 comments on commit 3c60fe5

Please sign in to comment.