Skip to content

Commit 16e21ad

Browse files
committed
fix: @putout/plugin-madrun: convert-cut-env-to-run: report
1 parent f420043 commit 16e21ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/plugin-madrun/lib/convert-cut-env-to-run/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const {
77
getProperty,
88
} = operator;
99

10-
export const report = () => `Use 'cutEnv()' instead of 'run()'`;
10+
export const report = () => `Use 'run()' instead of 'cutEnv()'`;
1111

1212
export const replace = () => ({
1313
'cutEnv(__a)': 'run(__a)',

packages/plugin-madrun/lib/convert-cut-env-to-run/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const test = createTest(import.meta.url, {
88
});
99

1010
test('madrun: convert-cut-env-to-run: report: cut-env', (t) => {
11-
t.report('cut-env', `Use 'cutEnv()' instead of 'run()'`);
11+
t.report('cut-env', `Use 'run()' instead of 'cutEnv()'`);
1212
t.end();
1313
});
1414

0 commit comments

Comments
 (0)