mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Wrap runProxy in IIFE for cjs compatibility
This commit is contained in:
parent
fbbca73ef6
commit
b762d2ba69
1 changed files with 3 additions and 1 deletions
|
|
@ -71,7 +71,9 @@ if (tool && tool.internalPackageManagerName === PIP_PACKAGE_MANAGER) {
|
||||||
} else if (command === "setup-ci") {
|
} else if (command === "setup-ci") {
|
||||||
setupCi();
|
setupCi();
|
||||||
} else if (command === "run-proxy") {
|
} else if (command === "run-proxy") {
|
||||||
await runProxy(process.argv.slice(2));
|
(async function () {
|
||||||
|
await runProxy(process.argv.slice(2));
|
||||||
|
})();
|
||||||
} else if (command === "--version" || command === "-v" || command === "-v") {
|
} else if (command === "--version" || command === "-v" || command === "-v") {
|
||||||
(async () => {
|
(async () => {
|
||||||
ui.writeInformation(`Current safe-chain version: ${await getVersion()}`);
|
ui.writeInformation(`Current safe-chain version: ${await getVersion()}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue