Skip to content

Commit

Permalink
chore: fixed code after typescript update
Browse files Browse the repository at this point in the history
JST-382
  • Loading branch information
pgrzy-golem committed Sep 8, 2023
1 parent cd6cf95 commit 7c64149
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/manifest/manifest-create.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ manifestCreateCommand
.argument("<image>", "Image to be used in the manifest, identified by URL, image tag or image hash.")
.action(async (name: string, image: string, options: ManifestCreateOptions) => {
const action = await import("./manifest-create.action.js");
await action.manifestCreateAction(name, image, options);
await action.default.manifestCreateAction(name, image, options);
});
2 changes: 1 addition & 1 deletion src/manifest/manifest-sign.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ manifestSignCommand
.option("-s, --signature-file <file>", "Signature file.", "manifest.sig")
.action(async (options: ManifestSignOptions) => {
const action = await import("./manifest-sign.action.js");
await action.manifestSignAction(options);
await action.default.manifestSignAction(options);
});
2 changes: 1 addition & 1 deletion src/manifest/manifest-verify.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ manifestVerifyCommand
.option("-s, --signature-file <file>", "Signature file (base64 encoded).", "manifest.sig")
.action(async (options: ManifestVerifyOptions) => {
const action = await import("./manifest-verify.action.js");
await action.manifestVerifyAction(options);
await action.default.manifestVerifyAction(options);
});
2 changes: 1 addition & 1 deletion src/manifest/net/manifest-net-add-outbound.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ manifestNetAddOutboundCommand
.argument("<url...>", "URLs to be added to the manifest.")
.action(async (urls: string[], options: ManifestNetAddOutboundOptions) => {
const action = await import("./manifest-net-add-outbound.action.js");
await action.manifestNetAddOutboundAction(urls, options);
await action.default.manifestNetAddOutboundAction(urls, options);
});

0 comments on commit 7c64149

Please sign in to comment.