Latest
This commit is contained in:
parent
b266b39aee
commit
ac3989d266
1 changed files with 4 additions and 2 deletions
|
@ -1800,9 +1800,11 @@ async function pruneInstallOrders(installOrders) {
|
|||
async function installPlugins(pluginData) {
|
||||
if (pluginData.cmd && pluginData.plugins && pluginData.plugins.length) {
|
||||
const pluginWhen = pluginData.when
|
||||
console.log('Plugin when condition:', pluginWhen)
|
||||
try {
|
||||
log('info', 'Plugin When', pluginWhen)
|
||||
runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen)
|
||||
if (pluginWhen) {
|
||||
runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen)
|
||||
}
|
||||
for (const plugin of pluginData.plugins) {
|
||||
try {
|
||||
const pluginCmd = pluginData.cmd.replace(/{PLUGIN}/g, plugin)
|
||||
|
|
Loading…
Reference in a new issue