mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Stop running prettier twice
It already gets ran as eslint-plugin. Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 file changed
-8
@@ -12,11 +12,3 @@ try {
|
|||||||
|
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
const result = execSync(`prettier ${shouldDoTheFix ? "--write" : "--check"} "**/*.{js,ts,tsx}"`);
|
|
||||||
|
|
||||||
console.log(result.toString());
|
|
||||||
} catch (error) {
|
|
||||||
console.log(error.stdout.toString());
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user