forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
10
electron/node_modules/node-gyp/lib/clean.js
generated
vendored
10
electron/node_modules/node-gyp/lib/clean.js
generated
vendored
|
|
@ -1,14 +1,14 @@
|
|||
'use strict'
|
||||
|
||||
const rm = require('rimraf')
|
||||
const log = require('npmlog')
|
||||
const fs = require('graceful-fs').promises
|
||||
const log = require('./log')
|
||||
|
||||
function clean (gyp, argv, callback) {
|
||||
async function clean (gyp, argv) {
|
||||
// Remove the 'build' dir
|
||||
var buildDir = 'build'
|
||||
const buildDir = 'build'
|
||||
|
||||
log.verbose('clean', 'removing "%s" directory', buildDir)
|
||||
rm(buildDir, callback)
|
||||
await fs.rm(buildDir, { recursive: true, force: true, maxRetries: 3 })
|
||||
}
|
||||
|
||||
module.exports = clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue