@arkts/image-manager 0.1.2 → 0.1.3

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/dist/index.cjs CHANGED
@@ -141,7 +141,6 @@ var ImageDeployerImpl = class {
141
141
  if (defaultProductConfigItem.devModel) return defaultProductConfigItem.devModel;
142
142
  }
143
143
  async buildList() {
144
- if (!(await this.image.getProductConfig()).find((item) => item.name === this.config.productName)) throw new Error(`Product config item ${this.config.productName} not found`);
145
144
  return {
146
145
  ...this.options,
147
146
  "imageDir": this.image.getPath().split(",").join(this.image.getImageManager().getOptions().path.sep) + this.image.getImageManager().getOptions().path.sep,
package/dist/index.mjs CHANGED
@@ -109,7 +109,6 @@ var ImageDeployerImpl = class {
109
109
  if (defaultProductConfigItem.devModel) return defaultProductConfigItem.devModel;
110
110
  }
111
111
  async buildList() {
112
- if (!(await this.image.getProductConfig()).find((item) => item.name === this.config.productName)) throw new Error(`Product config item ${this.config.productName} not found`);
113
112
  return {
114
113
  ...this.options,
115
114
  "imageDir": this.image.getPath().split(",").join(this.image.getImageManager().getOptions().path.sep) + this.image.getImageManager().getOptions().path.sep,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arkts/image-manager",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "description": "OpenHarmony/HarmonyOS qemu image manager.",
6
6
  "author": "Naily Zero <zero@naily.cc> (https://naily.cc)",
7
7
  "license": "MIT",