Skip to content

Commit

Permalink
fix(core): attach UVU_DEFER to isCLI guard
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Jul 3, 2022
1 parent 5a859bb commit 213efb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if (isNode = typeof process < 'u' && typeof process.stdout < 'u') {
}

globalThis.UVU_QUEUE = globalThis.UVU_QUEUE || [];
isCLI = isCLI || !!globalThis.UVU_DEFER;
isCLI || UVU_QUEUE.push([null]);

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

0 comments on commit 213efb5

Please sign in to comment.