[deploy.js] 修改代码格式,以符合 standard 规范
This commit is contained in:
@@ -98,8 +98,8 @@ ssh.connect(connection).then(async () => {
|
|||||||
concurrency: 10,
|
concurrency: 10,
|
||||||
recursive: true,
|
recursive: true,
|
||||||
validate: itemPath => {
|
validate: itemPath => {
|
||||||
const baseName = path.basename(itemPath);
|
const baseName = path.basename(itemPath)
|
||||||
return !baseName.endsWith('.map');
|
return !baseName.endsWith('.map')
|
||||||
},
|
},
|
||||||
tick: (localPath, remotePath, error) => {
|
tick: (localPath, remotePath, error) => {
|
||||||
console.log(`Uploading "${localPath}" ===> "${remotePath}" ${error || 'succeeded!'}`)
|
console.log(`Uploading "${localPath}" ===> "${remotePath}" ${error || 'succeeded!'}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user