mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
fix: version output with breakline (#3349)
This commit is contained in:
parent
dd177d7166
commit
020ede43f6
2 changed files with 6 additions and 1 deletions
5
.changeset/moody-clocks-roll.md
Normal file
5
.changeset/moody-clocks-roll.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@verdaccio/cli': patch
|
||||
---
|
||||
|
||||
fix: version with breakline
|
|
@ -6,7 +6,7 @@ export class VersionCommand extends Command {
|
|||
|
||||
async execute() {
|
||||
const version = require('../../package.json').version;
|
||||
this.context.stdout.write(`v${version}`);
|
||||
this.context.stdout.write(`v${version}\n`);
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue