We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efc532b commit dfb5160Copy full SHA for dfb5160
js/transform-script.js
@@ -1,5 +1,4 @@
1
const { execSync } = require('child_process');
2
-const path = require('path');
3
const fs = require('fs');
4
5
const { getMainConfig, getPrettierConfigFile, getAbsolutePath } = require('./helpers');
@@ -17,7 +16,7 @@ paths.forEach(({ input, output }) => {
17
16
}
18
19
let command = `babel ${inputAbsolutePath} -d ${outputAbsolutePath} --retain-lines`;
20
- command += ` && yarn prettier "${outputAbsolutePath}/**/*.js" --config ${prettierConfigFile} --write`;
+ command += ` && yarn prettier "${outputAbsolutePath}/**/*.js" --config ${prettierConfigFile} --write --log-level warn`;
21
22
try {
23
execSync(command, { stdio: 'inherit' });
0 commit comments