Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2023
1 parent 990a8dd commit 957296d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/jcink/move-recent-topics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ SOFTWARE.

if (!parent) {
console.error(
`New parent for recent topics could not be found, expected element with ID ${parentId}`
`New parent for recent topics could not be found, expected element with ID ${parentId}`,
);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/wrap-word/_test.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
12 changes: 6 additions & 6 deletions dist/wrap-word/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,27 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
const textNode = getContainingTextNode(
target,
word,
mode.isForwardSearching
mode.isForwardSearching,
);

injectWrapper(
textNode,
word,
wordWrapped,
mode.isForwardSearching
mode.isForwardSearching,
);
} catch (exception) {
switch (exception.level) {
case "warn":
console.warn(
exception.message,
...exception.substitutions
...exception.substitutions,
);
break;
default:
console.error(
exception.message,
...exception.substitutions
...exception.substitutions,
);
}
}
Expand All @@ -83,7 +83,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
`Found empty trigger on %o
At least one mode must be specified, options are: %o`,
target,
Object.keys(modes)
Object.keys(modes),
);
} else {
console.error('Unsupported mode "%s" found', selectedMode);
Expand Down Expand Up @@ -148,7 +148,7 @@ At least one mode must be specified, options are: %o`,
return getContainingTextNode(
child,
searchFor,
isForwardSearching
isForwardSearching,
);
}
}
Expand Down

0 comments on commit 957296d

Please sign in to comment.