mm_machine 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -245,10 +245,10 @@ Index.prototype.updateConfigHave = async function(dir) {
|
|
|
245
245
|
// 使用find方法查找匹配项
|
|
246
246
|
const targetConfig = config.find(cg => cg.name === o.config.name);
|
|
247
247
|
if (targetConfig) {
|
|
248
|
-
await o.exec('
|
|
248
|
+
await o.exec('setConfig', targetConfig);
|
|
249
249
|
}
|
|
250
250
|
} else {
|
|
251
|
-
await o.exec('
|
|
251
|
+
await o.exec('setConfig', config);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
} catch (err) {
|