Skip to content

Commit f487637

Browse files
committed
fix: fix buildList function
1 parent 7d0d43a commit f487637

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.changeset/big-weeks-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@arkts/image-manager": patch
3+
---
4+
5+
fix: fix buildList function

src/deployer/image-deployer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,6 @@ class ImageDeployerImpl implements Device {
165165
}
166166

167167
async buildList(): Promise<FullDeployedImageOptions> {
168-
const productConfig = await this.image.getProductConfig()
169-
const productConfigItem = productConfig.find(item => item.name === this.config.productName)
170-
if (!productConfigItem)
171-
throw new Error(`Product config item ${this.config.productName} not found`)
172-
173168
return {
174169
...this.options as DeployedImageOptions,
175170
'imageDir': this.image.getPath().split(',').join(this.image.getImageManager().getOptions().path.sep) + this.image.getImageManager().getOptions().path.sep,

0 commit comments

Comments
 (0)