We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5abba81 commit 1f4ed58Copy full SHA for 1f4ed58
1 file changed
scripts/ci/mod.ts
@@ -26,7 +26,15 @@ export async function runCommands(
26
}
27
28
if (idx !== processes.length - 1) {
29
- console.log(`\n${bold('-'.repeat(Deno.consoleSize().columns))}\n\n`);
+ const width = (() => {
30
+ try {
31
+ return Deno.consoleSize().columns;
32
+ } catch {
33
+ return 10;
34
+ }
35
+ })();
36
+
37
+ console.log(`\n${bold('-'.repeat(width))}\n\n`);
38
39
40
0 commit comments