Update ide-setup.js - add missing glob require (#514)
Co-authored-by: Brian <bmadcode@gmail.com>
This commit is contained in:
@@ -706,6 +706,7 @@ class IdeSetup extends BaseIdeSetup {
|
||||
// Check common tasks
|
||||
const commonTasksDir = path.join(installDir, 'common', 'tasks');
|
||||
if (await fileManager.pathExists(commonTasksDir)) {
|
||||
const glob = require('glob');
|
||||
const commonTaskFiles = glob.sync('*.md', { cwd: commonTasksDir });
|
||||
allTaskIds.push(...commonTaskFiles.map((file) => path.basename(file, '.md')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user