forked from lucaspatenaude/ScoreSpot
Update to NPM version
This commit is contained in:
25
ProjectSourceCode/node_modules/npm-run-all/bin/common/version.js
generated
vendored
Normal file
25
ProjectSourceCode/node_modules/npm-run-all/bin/common/version.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @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)
|
||||
}
|
||||
Reference in New Issue
Block a user