1
0
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:
Janne Savolainen 2023-03-17 10:17:42 +02:00
parent 0cbfe3bdf4
commit 16573d11b0
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -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());
}