This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ export default class LinkIndex extends Command {
123123 if ( currentBranch !== "main" ) {
124124 this . log ( chalk . red ( "You must be on the 'main' branch to link your repository." ) ) ;
125125 this . log ( "Please switch to the 'main' branch:" ) ;
126- this . log ( " > git checkout main") ;
126+ this . log ( ` > ${ chalk . blue ( " git checkout main") } ` ) ;
127127 this . log ( "or rename your current branch to 'main'." ) ;
128- this . log ( " > git branch -m main") ;
128+ this . log ( ` > ${ chalk . blue ( " git branch -m main") } ` ) ;
129129 this . exit ( 1 ) ;
130130 }
131131
@@ -137,8 +137,8 @@ export default class LinkIndex extends Command {
137137 const projectName = path . basename ( gitRoot ) ;
138138 this . log ( `Please create a GitHub repository: https://github.com/new?name=${ projectName } ` ) ;
139139 this . log ( `And push your code:` ) ;
140- this . log ( ` > git remote add origin <GIT_URL>` ) ;
141- this . log ( ` > git push -u origin main` ) ;
140+ this . log ( ` > ${ chalk . blue ( " git remote add origin <GIT_URL>)" ) } ` ) ;
141+ this . log ( ` > ${ chalk . blue ( " git push -u origin main" ) } ` ) ;
142142
143143 this . exit ( 1 ) ;
144144 }
You can’t perform that action at this time.
0 commit comments