File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ module.exports = {
1818 FrameworkRepositoryName : 'adapt_framework' ,
1919 ComponentRepository : process . env . ADAPT_COMPONENT || 'https://github.com/adaptlearning/adapt-component' ,
2020 ComponentRepositoryName : 'adapt-component' ,
21- DefaultBranch : process . env . ADAPT_BRANCH || 'master' ,
2221 HomeDirectory : searchForHome ( ) ,
2322 getRegistry :getRegistry ,
2423 setCwd : setCwd ,
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ module.exports = {
1313 create : function ( renderer ) {
1414 var type = arguments . length >= 3 ? arguments [ 1 ] : Constants . DefaultCreateType ,
1515 localDir = arguments . length >= 4 ? arguments [ 2 ] : undefined ,
16- branch = arguments . length >= 5 ? arguments [ 3 ] : Constants . DefaultBranch ,
16+ branch = arguments . length >= 5 ? arguments [ 3 ] : undefined ,
1717 done = arguments [ arguments . length - 1 ] ;
1818 highest ( )
1919 . then ( function ( tag ) {
2020 return confirm ( {
2121 type : type ,
2222 localDir : localDir ,
23- branch : tag ,
23+ branch : branch || tag ,
2424 renderer : renderer
2525 } ) ;
2626 } )
You can’t perform that action at this time.
0 commit comments