Skip to content

Commit 213efb5

Browse files
committed
fix(core): attach UVU_DEFER to isCLI guard
1 parent 5a859bb commit 213efb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if (isNode = typeof process < 'u' && typeof process.stdout < 'u') {
2929
}
3030

3131
globalThis.UVU_QUEUE = globalThis.UVU_QUEUE || [];
32+
isCLI = isCLI || !!globalThis.UVU_DEFER;
3233
isCLI || UVU_QUEUE.push([null]);
3334

3435
const QUOTE = kleur.dim('"'), GUTTER = '\n ';

0 commit comments

Comments
 (0)