mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't use snapshots in Task
They are not providing much value, as we are not already loading anything from the snapshot require cache.
This commit is contained in:
@@ -70,10 +70,6 @@ class Task
|
||||
compileCachePath = require('./compile-cache').getCacheDirectory()
|
||||
taskBootstrapRequire = "require('#{require.resolve('./task-bootstrap')}');"
|
||||
bootstrap = """
|
||||
if (typeof snapshotResult !== 'undefined') {
|
||||
snapshotResult.setGlobals(global, process, global, {}, console, require)
|
||||
}
|
||||
|
||||
CompileCache = #{compileCacheRequire}
|
||||
CompileCache.setCacheDirectory('#{compileCachePath}');
|
||||
CompileCache.install("#{process.resourcesPath}", require)
|
||||
|
||||
Reference in New Issue
Block a user