Urara-Blog/node_modules/.pnpm-store/v3/files/e3/4289401ff60e1c384c13c7cf5f7a6af15c904430fdc760df911b9e204eed65af511d6fc4f7bc9c7a24ee31c4fda10a6430653bb06a1c4fd402847d3e308853
2022-08-14 01:14:53 +08:00

25 lines
684 B
Text

/**
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/
"use strict"
//------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
/**
* Print a version text.
*
* @param {stream.Writable} output - A writable stream to print.
* @returns {Promise} Always a fulfilled promise.
* @private
*/
module.exports = function printVersion(output) {
const version = require("../../package.json").version
output.write(`v${version}\n`)
return Promise.resolve(null)
}