Comparing version 0.0.24 to 0.0.25
@@ -146,2 +146,4 @@ 'use strict' | ||
task.config.bootme = this.registry.sharedConfig | ||
await this.loadConfig(state) | ||
task.addHook('onInit', async state => task.init(state)) | ||
@@ -206,3 +208,2 @@ | ||
try { | ||
await this.loadConfig(state) | ||
await this.executeTask(task, state) | ||
@@ -209,0 +210,0 @@ } catch (err) { |
@@ -82,5 +82,2 @@ 'use strict' | ||
task.addHook('onInit', async state => task.init(state)) | ||
task.config.bootme = this.sharedConfig | ||
this.tasks.push(task) | ||
@@ -87,0 +84,0 @@ |
@@ -59,15 +59,3 @@ 'use strict' | ||
for (let hook of this.pipeline.onTaskStartHooks) { | ||
await hook(state) | ||
} | ||
// pass share config | ||
task.config.bootme = this.pipeline.registry.sharedConfig | ||
await this.pipeline.loadConfig(state) | ||
await this.pipeline.executeTask(task, state) | ||
for (let hook of this.pipeline.onTaskEndHooks) { | ||
await hook(state) | ||
} | ||
} | ||
@@ -74,0 +62,0 @@ /** |
{ | ||
"name": "bootme", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12941
577