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 b8b5b55 commit 75a5d1dCopy full SHA for 75a5d1d
packages/bundler-plugin-core/src/utils.ts
@@ -198,7 +198,10 @@ export function stringToUUID(str: string): string {
198
function gitRevision(): string | undefined {
199
let gitRevision: string | undefined;
200
try {
201
- gitRevision = childProcess.execSync("git rev-parse HEAD").toString().trim();
+ gitRevision = childProcess
202
+ .execSync("git rev-parse HEAD", { stdio: ["ignore", "pipe", "ignore"] })
203
+ .toString()
204
+ .trim();
205
} catch (e) {
206
// noop
207
}
0 commit comments