Skip to content

Commit 89f4dcc

Browse files
authored
chore(gen-semconv-ts): update to use prettier for formatting (open-telemetry#3298)
1 parent 8adc31b commit 89f4dcc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/gen-semconv-ts.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,10 @@ ${chunks.join('\n\n')}
231231
);
232232
console.log(`Generated "${semconvTsPath}".`);
233233

234-
console.log('Running "npx eslint --fix src/semconv.ts" to fix formatting.');
235-
execSync('npx eslint --fix src/semconv.ts', { cwd: wsDir });
234+
console.log(
235+
'Running "npx prettier --write src/semconv.ts" to fix formatting.'
236+
);
237+
execSync('npx prettier --write src/semconv.ts', { cwd: wsDir });
236238
}
237239

238240
// mainline

0 commit comments

Comments
 (0)