Fix top-level await

This commit is contained in:
Sander Declerck 2025-11-28 18:06:31 +01:00
parent 8852afb5fa
commit 1361abc4e8
No known key found for this signature in database

View file

@ -43,7 +43,9 @@ const command = process.argv[2];
const tool = knownAikidoTools.find((tool) => tool.tool === command); const tool = knownAikidoTools.find((tool) => tool.tool === command);
if (tool && tool.internalPackageManagerName === PIP_PACKAGE_MANAGER) { if (tool && tool.internalPackageManagerName === PIP_PACKAGE_MANAGER) {
(async function () {
await executePip(tool); await executePip(tool);
})();
} else if (tool) { } else if (tool) {
const args = process.argv.slice(3); const args = process.argv.slice(3);