We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e3bdb6 commit ac930fcCopy full SHA for ac930fc
server/modules/storage/git/storage.js
@@ -1,5 +1,5 @@
1
const path = require('path')
2
-const sgit = require('simple-git/promise')
+const sgit = require('simple-git')
3
const fs = require('fs-extra')
4
const _ = require('lodash')
5
const stream = require('stream')
@@ -160,8 +160,8 @@ module.exports = {
160
fNames.old = fMatch[1]
161
fNames.new = fMatch[4]
162
} else {
163
- fNames.old = (fMatch[1]+fMatch[2]+fMatch[4]).replace('//', '/'),
164
- fNames.new = (fMatch[1]+fMatch[3]+fMatch[4]).replace('//', '/')
+ fNames.old = (fMatch[1] + fMatch[2] + fMatch[4]).replace('//', '/'),
+ fNames.new = (fMatch[1] + fMatch[3] + fMatch[4]).replace('//', '/')
165
}
166
const fPath = path.join(this.repoPath, fNames.new)
167
let fStats = { size: 0 }
0 commit comments