⬆️ electron-link

This commit is contained in:
Antonio Scandurra
2017-04-04 11:36:49 +02:00
parent 03be104141
commit 0e1bc58310
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
if (typeof snapshotResult !== 'undefined') {
snapshotResult.setGlobals(global, process, global, {}, require) // eslint-disable-line no-undef
snapshotResult.setGlobals(global, process, global, {}, console, require) // eslint-disable-line no-undef
}
const startTime = Date.now()

View File

@@ -71,7 +71,7 @@ class Task
taskBootstrapRequire = "require('#{require.resolve('./task-bootstrap')}');"
bootstrap = """
if (typeof snapshotResult !== 'undefined') {
snapshotResult.setGlobals(global, process, global, {}, require)
snapshotResult.setGlobals(global, process, global, {}, console, require)
}
CompileCache = #{compileCacheRequire}