Skip to content

Commit

Permalink
refactor(ovm): improve ovm launch params (#52)
Browse files Browse the repository at this point in the history
Signed-off-by: Black-Hole1 <[email protected]>
  • Loading branch information
BlackHole1 authored Jan 22, 2024
1 parent 2d36327 commit 3c8c847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/darwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export class DarwinOVM {
}

public start(): void {
const versions = Object.keys(this.options.versions).map((key) => `${key}=${this.options.versions[key]}`).join(",");
const versions = Object.keys(this.options.versions).map((key) => {
return `${key === "dataImg" ? "data_img" : key}=${this.options.versions[key]}`;
}).join(",");

const launchTimeout = new Promise<void>((resolve, reject) => {
const id = setTimeout(() => {
Expand Down

0 comments on commit 3c8c847

Please sign in to comment.