fix(vhd-lib/VhdSynthetic): compression type computation
This commit is contained in:
parent
0e45c52bbc
commit
56b427c09c
@ -46,9 +46,9 @@ const VhdSynthetic = class VhdSynthetic extends VhdAbstract {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get compressionType() {
|
get compressionType() {
|
||||||
const compressionType = this.vhds[0].compressionType
|
const compressionType = this.#vhds[0].compressionType
|
||||||
for (let i = 0; i < this.vhds.length; i++) {
|
for (let i = 0; i < this.#vhds.length; i++) {
|
||||||
if (compressionType !== this.vhds[i].compressionType) {
|
if (compressionType !== this.#vhds[i].compressionType) {
|
||||||
return 'MIXED'
|
return 'MIXED'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user