Skip to content

Commit 673c384

Browse files
Mathys-GasnierACR1209
authored andcommitted
Changing status check in plugin
1 parent fb3e92f commit 673c384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function consolidateSnippets(projectRoot: string) {
99
cwd: projectRoot,
1010
});
1111

12-
if (cmd.status !== 1) return;
12+
if (cmd.status === 0) return;
1313

1414
console.log(`Consolidating snippets failed:\n${cmd.output.toString()}`);
1515
}

0 commit comments

Comments
 (0)