chore: update to standard 12

This commit is contained in:
Samuel Attard
2018-09-14 02:10:51 +10:00
parent 9e85bdb02c
commit 558fff69e7
198 changed files with 4455 additions and 2940 deletions

View File

@@ -4,7 +4,7 @@ var electron = require('./')
var proc = require('child_process')
var child = proc.spawn(electron, process.argv.slice(2), {stdio: 'inherit'})
var child = proc.spawn(electron, process.argv.slice(2), { stdio: 'inherit' })
child.on('close', function (code) {
process.exit(code)
})

View File

@@ -37,7 +37,7 @@ download({
// unzips and makes path.txt point at the correct executable
function extractFile (err, zipPath) {
if (err) return onerror(err)
extract(zipPath, {dir: path.join(__dirname, 'dist')}, function (err) {
extract(zipPath, { dir: path.join(__dirname, 'dist') }, function (err) {
if (err) return onerror(err)
fs.writeFile(path.join(__dirname, 'path.txt'), platformPath, function (err) {
if (err) return onerror(err)