From 8658ce31bc25d3f6505b586759dcf00726a4916b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Wed, 13 Nov 2024 17:27:34 +0100 Subject: [PATCH] Code formatting [skip ci] --- src/cli.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.coffee b/src/cli.coffee index 0f384ae..0baaf5f 100644 --- a/src/cli.coffee +++ b/src/cli.coffee @@ -45,8 +45,8 @@ try process.exit() if values.version - pkg = await import("../package.json", with: {type: "json"}) - console.log pkg.default.version + {default: {version}} = await import("../package.json", with: {type: "json"}) + console.log version process.exit() # Check the requirements.