Skip to content

Commit 3fc6826

Browse files
committed
fix: use default import of picocolors
This causes an error in some node versions. Changing it to a default import seems to solve it (and is consistent with the rest of the repo).
1 parent 0784c35 commit 3fc6826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/prompts/src/task-log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Writable } from 'node:stream';
22
import { getColumns } from '@clack/core';
3-
import * as color from 'picocolors';
3+
import color from 'picocolors';
44
import { erase } from 'sisteransi';
55
import { type CommonOptions, S_BAR, S_STEP_SUBMIT, isCI as isCIFn } from './common.js';
66
import { log } from './log.js';

0 commit comments

Comments
 (0)