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 committed 2023-03-21 09:28:20 +02:00
1 parent 0cbfe3bdf4
commit 16573d11b0
1 file changed
-8
@@ -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());
}