File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ ## [ v1.0.2] ( https://github.com/push2cloud/compiler-workspace-resolver/compare/v1.0.1...v1.0.2 )
2+ - use fallback for path
3+
14## [ v1.0.1] ( https://github.com/push2cloud/compiler-workspace-resolver/compare/v1.0.0...v1.0.1 )
25- Now only changes apps that are from the requested repo
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const resolver = {
77 const config = require ( deployConfigPath ) ;
88 const resolvedApps = _ . map ( config . apps , ( app ) => {
99 if ( tools . repoHash ( app . source ) === repoHash ) {
10- app . path = join ( rootDir , app . path ) ;
11- app . source . path = join ( rootDir , app . source . path ) ;
10+ app . path = join ( rootDir , app . path || '' ) ;
11+ app . source . path = join ( rootDir , app . source . path || '' ) ;
1212 app . scripts = _ . mapValues ( app . scripts , ( value , key ) => {
1313 return _ . map ( value , ( script ) => script . replace ( '${rootDir}' , rootDir ) ) ;
1414 } ) ;
You can’t perform that action at this time.
0 commit comments