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:
parent
0cbfe3bdf4
commit
16573d11b0
@ -12,11 +12,3 @@ try {
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user