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

simple-sftp-deploy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-sftp-deploy - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "simple-sftp-deploy",
"version": "0.2.0",
"version": "0.2.1",
"description": "deploy project with ssh2-sftp-client",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -81,5 +81,5 @@ const Client = require('ssh2-sftp-client')

.connect(config.options)
.then(async data => {
.then(data => {
console.log('文件服务器连接成功')
const deployFiles = () => {
const deployFiles = async () => {
console.log(`准备创建项目根路目录${config.project_remote_path}`)

@@ -86,0 +86,0 @@ await this.sftp.mkdir(config.project_remote_path, false) // false: 不设置递归创建文件夹

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