Skip to content

Commit

Permalink
improve naming
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Dec 27, 2022
1 parent d4aa78e commit 6e3dc40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/log-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const logMessage = (source, message, forced = false) => {
if (ruleText) {
const RULE_MARKER = '#%#';
const markerIdx = ruleText.indexOf(RULE_MARKER);
const extension = ruleText.slice(markerIdx, ruleText.length);
messageStr += ` cannot apply rule: ${extension}`;
const messageExtension = ruleText.slice(markerIdx, ruleText.length);
messageStr += ` cannot apply rule: ${messageExtension}`;
}

// eslint-disable-next-line no-console
Expand Down

0 comments on commit 6e3dc40

Please sign in to comment.