Skip to content

Commit

Permalink
Code formatting [skp ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Nov 13, 2024
1 parent 8a30f32 commit a88978e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,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.
Expand Down

0 comments on commit a88978e

Please sign in to comment.