Skip to content

Commit 5c9da34

Browse files
committed
feature: @putout/engine-runner: debug log: simplify
1 parent 00066c7 commit 5c9da34

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/engine-runner/lib/run-fix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = (is, fix, {path, pathOptions, rule, position, options}) => {
5353
return;
5454

5555
if (debug.enabled)
56-
debug(`fix: ${rule}`, position, getPath(path).toString());
56+
debug(`${rule}:`, position, getPath(path).toString());
5757

5858
validate('fix', fix);
5959

packages/engine-runner/test/runner.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ test('putout: runner: debug', (t) => {
712712

713713
test('putout: runner: debug: replace', (t) => {
714714
const {DEBUG} = process.env;
715-
716715
const debugFn = stub();
717716

718717
debugFn.enabled = true;

0 commit comments

Comments
 (0)