mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 07:36:12 +08:00
fix(cibuild): unlinkSync => rmdirSync
This commit is contained in:
parent
a9bf2a39fe
commit
339da554b0
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ module.exports = (grunt) ->
|
|||
apmPackageDir = path.join(apmInstallDir, 'node_modules', 'atom-package-manager')
|
||||
for name in fs.readdirSync(apmPackageDir)
|
||||
fs.renameSync path.join(apmPackageDir, name), path.join(apmInstallDir, name)
|
||||
fs.unlinkSync(apmPackageDir)
|
||||
fs.rmdirSync(apmPackageDir)
|
||||
|
||||
if process.platform is 'darwin'
|
||||
grunt.file.recurse path.join('build', 'resources', 'mac'), (sourcePath, rootDirectory, subDirectory='', filename) ->
|
||||
|
|
Loading…
Reference in a new issue