Add production dependencies

This commit is contained in:
Jay Trees 2022-01-21 09:28:41 +01:00
commit 579ccdc29f
12113 changed files with 978046 additions and 3 deletions
node_modules/gulp-git/lib

23
node_modules/gulp-git/lib/showBranch.js generated vendored Normal file
View file

@ -0,0 +1,23 @@
'use strict';
var log = require('fancy-log');
var exec = require('child_process').exec;
module.exports = function (opt, cb) {
if (!cb && typeof opt === 'function') {
// optional options
cb = opt;
opt = {};
}
if (!cb || typeof cb !== 'function') cb = function () {};
if (!opt) opt = {};
if (!opt.cwd) opt.cwd = process.cwd();
if (!opt.args) opt.args = ' ';
var cmd = 'git show-branch ' + opt.args;
return exec(cmd, {cwd: opt.cwd}, function(err, stdout, stderr) {
if (err) return cb(err);
if (!opt.quiet) log(stdout, stderr);
cb(null, stdout);
});
};