diff --git a/src/index.ts b/src/index.ts index e851806..3ab86b4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,16 +21,18 @@ void (async () => { if (args['version']) { return console.log( - ( - (await import( - join( - require.main - ? join(dirname(require.main.filename), '..') - : process.cwd(), - 'package.json' - ) - )) as { version: string } - ).version + `v${ + ( + (await import( + join( + require.main + ? join(dirname(require.main.filename), '..') + : process.cwd(), + 'package.json' + ) + )) as { version: string } + ).version + }` ); }