@@ -11,9 +11,9 @@ export default class Init extends Command {
1111 `$ cdkp init the-big-fan
1212 *** Downloading Pattern ***
1313 From https://github.com/cdk-patterns/serverless
14- * [new branch] master -> origin/master
14+ * [new branch] main -> origin/main
1515 From https://github.com/cdk-patterns/serverless
16- * branch master -> FETCH_HEAD
16+ * branch main -> FETCH_HEAD
1717 *** Tidying up file structure ***
1818 *** Installing Dependencies and Building ***
1919 npm WARN the-big-fan@0.1.0 No repository field.
@@ -75,7 +75,7 @@ export default class Init extends Command {
7575 execSync ( 'git remote add origin -f https://github.com/cdk-patterns/serverless' , { 'cwd' : pattern } ) ;
7676 execSync ( 'git config core.sparsecheckout true' , { 'cwd' : pattern } ) ;
7777 execSync ( 'echo ' + pattern + '/' + lang + ' >> .git/info/sparse-checkout' , { 'cwd' : pattern } ) ;
78- execSync ( 'git pull origin master ' , { 'cwd' : pattern } ) ;
78+ execSync ( 'git pull origin main ' , { 'cwd' : pattern } ) ;
7979
8080 this . log ( '*** Tidying up file structure ***' ) ;
8181 fs . removeSync ( path . join ( base_dir , '.git' ) )
@@ -109,7 +109,7 @@ export default class Init extends Command {
109109
110110 private getAvailablePatterns ( ) :Promise < string [ ] > {
111111 return new Promise < string [ ] > ( ( resolve , reject ) => {
112- https . get ( 'https://raw.githubusercontent.com/cdk-patterns/serverless/master /info.json' , ( resp :any ) => {
112+ https . get ( 'https://raw.githubusercontent.com/cdk-patterns/serverless/main /info.json' , ( resp :any ) => {
113113 let data = '' ;
114114
115115 // A chunk of data has been recieved.
0 commit comments