Skip to content

Commit ce386db

Browse files
committed
fix: @putout/plugin-printer: remove-useless-colon-from-type-checker: withSpaces -> withoutColon
1 parent c93c77c commit ce386db

File tree

1 file changed

+2
-2
lines changed
  • packages/plugin-printer/lib/remove-useless-colon-from-type-checker

1 file changed

+2
-2
lines changed

packages/plugin-printer/lib/remove-useless-colon-from-type-checker/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const {setLiteralValue} = operator;
99

1010
export const report = ({path, where}) => {
1111
const {value} = path.node;
12-
const withSpaces = addColon(value, where);
12+
const withoutColon = addColon(value, where);
1313

14-
return `Remove useless colon: '${value}' -> '${withSpaces}'`;
14+
return `Remove useless colon: '${value}' -> '${withoutColon}'`;
1515
};
1616

1717
export const fix = ({path, where}) => {

0 commit comments

Comments
 (0)