0
Fork 0
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:
Juan Picado 2022-09-04 10:46:57 +02:00 committed by GitHub
parent dd177d7166
commit 020ede43f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@verdaccio/cli': patch
---
fix: version with breakline

View file

@ -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);
}
}