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