File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
1414} from '@sveltejs/addons' ;
1515import type { AgentName } from 'package-manager-detector' ;
1616import {
17- colors ,
1817 type AddonWithoutExplicitArgs ,
1918 type OptionValues ,
2019 type PackageManager
@@ -99,7 +98,7 @@ export const add = new Command('add')
9998 const { nextSteps } = await runAddCommand ( options , selectedAddons ) ;
10099 if ( nextSteps )
101100 p . note ( nextSteps , 'Next steps' , {
102- format : ( line ) => colors . white ( line )
101+ format : ( line ) => pc . white ( line )
103102 } ) ;
104103 } ) ;
105104 } ) ;
@@ -365,7 +364,7 @@ export async function runAddCommand(
365364 . join ( '\n- ' ) ;
366365
367366 p . note ( `- ${ message } ` , 'Preconditions not met' , {
368- format : ( line ) => colors . white ( line )
367+ format : ( line ) => pc . white ( line )
369368 } ) ;
370369
371370 const force = await p . confirm ( {
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import {
2222 installOption ,
2323 packageManagerPrompt
2424} from '../utils/package-manager.ts' ;
25- import { colors } from '@sveltejs/cli-core' ;
2625
2726const langs = [ 'ts' , 'jsdoc' ] as const ;
2827const langMap : Record < string , LanguageType | undefined > = {
@@ -95,11 +94,11 @@ export const create = new Command('create')
9594 ] ;
9695
9796 p . note ( steps . join ( '\n' ) , 'Project next steps' , {
98- format : ( line ) => colors . white ( line )
97+ format : ( line ) => pc . white ( line )
9998 } ) ;
10099 if ( addOnNextSteps )
101100 p . note ( addOnNextSteps , 'Add-on next steps' , {
102- format : ( line ) => colors . white ( line )
101+ format : ( line ) => pc . white ( line )
103102 } ) ;
104103 } ) ;
105104 } ) ;
You can’t perform that action at this time.
0 commit comments