Skip to content

Commit

Permalink
Fix handling of 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
holatuwol committed Apr 29, 2021
1 parent 78700b0 commit 34e17cb
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions streams0/streams0.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,22 +238,24 @@ function createProjectWorkspace(coreDetails, moduleDetails, pluginDetails, confi
moduleDetails.forEach(getFileTreeDependencies);
moduleDetails.forEach(reorderLibraryDependencies);

moduleDetails.push({
modulePath: 'modules',
moduleName: 'modules',
type: 'portal',
webrootFolders: [],
sourceFolders: [],
resourceFolders: [],
testSourceFolders: [],
testResourceFolders: [],
excludeFolders: [],
projectDependencies: [],
libraryDependencies: [],
hasInitJsp: false,
unload: false,
bndContent: ''
});
if (fs.existsSync('modules')) {
moduleDetails.push({
modulePath: 'modules',
moduleName: 'modules',
type: 'portal',
webrootFolders: [],
sourceFolders: [],
resourceFolders: [],
testSourceFolders: [],
testResourceFolders: [],
excludeFolders: [],
projectDependencies: [],
libraryDependencies: [],
hasInitJsp: false,
unload: false,
bndContent: ''
});
}

var moduleStream = highland(moduleDetails);
var coreStream = highland(coreDetails);
Expand Down

0 comments on commit 34e17cb

Please sign in to comment.