Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-git

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-git - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

lib/addRemote.js

@@ -14,3 +14,3 @@ 'use strict';

if (!cb || typeof cb !== 'function') cb = function () {};
if (!url) cb(new Error('gulp-git: Repo URL is required git.addRemote("origin", "https://github.com/user/repo.git")'));
if (!url) return cb(new Error('gulp-git: Repo URL is required git.addRemote("origin", "https://github.com/user/repo.git")'));
if (!remote) remote = 'origin';

@@ -25,3 +25,3 @@ if (!opt) opt = {};

return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
if (err) cb(err);
if (err) return cb(err);
if (!opt.quiet) gutil.log(stdout, stderr);

@@ -28,0 +28,0 @@ cb();

@@ -8,3 +8,3 @@ 'use strict';

if (!cb || typeof cb !== 'function') cb = function () {};
if (!url) cb(new Error('gulp-git: Repo URL is required git.submodule.add("https://github.com/user/repo.git", "repoName")'));
if (!url) return cb(new Error('gulp-git: Repo URL is required git.submodule.add("https://github.com/user/repo.git", "repoName")'));
if (!name) name = '';

@@ -19,3 +19,3 @@ if (!opt) opt = {};

return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
if (err && cb) cb(err);
if (err && cb) return cb(err);
if (!opt.quiet) gutil.log(stdout, stderr);

@@ -22,0 +22,0 @@ if (cb) cb();

@@ -27,3 +27,3 @@ 'use strict';

return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
if (err) cb(err);
if (err) return cb(err);
if (!opt.quiet) gutil.log(stdout, stderr);

@@ -30,0 +30,0 @@ cb();

@@ -30,3 +30,3 @@ 'use strict';

exec(cmd, {cwd: cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
if (err) cb(err);
if (err) return cb(err);
if (!opt.quiet) gutil.log(stdout, stderr);

@@ -33,0 +33,0 @@ files.forEach(that.push.bind(that));

@@ -16,3 +16,3 @@ 'use strict';

return exec(cmd, {cwd: opt.cwd, maxBuffer: maxBuffer}, function(err, stdout, stderr) {
if (err && cb) cb(err);
if (err && cb) return cb(err);
if (!opt.quiet) gutil.log(stdout, stderr);

@@ -19,0 +19,0 @@ if (cb) cb();

{
"name": "gulp-git",
"description": "Git plugin for gulp (gulpjs.com)",
"version": "2.4.0",
"version": "2.4.1",
"homepage": "http://github.com/stevelacy/gulp-git",

@@ -6,0 +6,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc