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) {
|
async function installPlugins(pluginData) {
|
||||||
if (pluginData.cmd && pluginData.plugins && pluginData.plugins.length) {
|
if (pluginData.cmd && pluginData.plugins && pluginData.plugins.length) {
|
||||||
const pluginWhen = pluginData.when
|
const pluginWhen = pluginData.when
|
||||||
|
console.log('Plugin when condition:', pluginWhen)
|
||||||
try {
|
try {
|
||||||
log('info', 'Plugin When', pluginWhen)
|
if (pluginWhen) {
|
||||||
runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen)
|
runCommand(`Checking when condition for ${pluginData.package} plugin - ${plugin}`, pluginWhen)
|
||||||
|
}
|
||||||
for (const plugin of pluginData.plugins) {
|
for (const plugin of pluginData.plugins) {
|
||||||
try {
|
try {
|
||||||
const pluginCmd = pluginData.cmd.replace(/{PLUGIN}/g, plugin)
|
const pluginCmd = pluginData.cmd.replace(/{PLUGIN}/g, plugin)
|
||||||
|
|
Loading…
Reference in a new issue