Socket
Socket
Sign inDemoInstall

deploytool-ssh-checkout

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deploytool-ssh-checkout - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

15

index.js

@@ -10,19 +10,16 @@ /**

deploy: function(environment, commit, callback) {
if (typeof environment === 'string') {
environment = deploytool.environment.load(environment);
}
environment.applyDefaults({
deploytool.environment.initialize(environment, {
type: 'ssh-checkout',
remoteBranch: '',
remote: 'origin',
remoteDir: '',
remotePath: '',
commands: []
});
var config = environment.config;
environment.config.remoteBranch = environment.config.remoteBranch || environment.config.branch
config.remoteBranch = config.remoteBranch || config.branch;
if (!config.remoteDir) {
callback(new Error('remoteDir must be specified'));
if (!config.remotePath) {
callback(new Error('remotePath must be specified'));

@@ -29,0 +26,0 @@ return;

6

package.json
{
"name": "deploytool-ssh-checkout",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Deploytool deployment type for running git checkout on a remote server",

@@ -27,4 +27,4 @@ "license": "MIT",

"async": "^2.0.0-rc.6",
"deploytool": "^0.1.0",
"deploytool-ssh": "^0.1.1"
"deploytool": "^0.1.1",
"deploytool-ssh": "^0.1.2"
},

@@ -31,0 +31,0 @@ "devDependencies": {

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