mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Pass in full path to root cache dir
This commit is contained in:
@@ -97,7 +97,7 @@ getCachePath = (sourceCode) ->
|
||||
|
||||
unless jsCacheDir?
|
||||
to5Version = require('6to5-core/package.json').version
|
||||
jsCacheDir = path.join(cacheDir, '6to5', create6to5VersionAndOptionsDigest(to5Version, defaultOptions))
|
||||
jsCacheDir = path.join(cacheDir, create6to5VersionAndOptionsDigest(to5Version, defaultOptions))
|
||||
|
||||
path.join(jsCacheDir, "#{digest}.js")
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ var setupAtomHome = function() {
|
||||
|
||||
var setup6to5 = function(cacheDir) {
|
||||
var to5 = require('../src/6to5');
|
||||
to5.setCacheDirectory(path.join(cacheDir, 'js'));
|
||||
to5.setCacheDirectory(path.join(cacheDir, 'js', '6to5'));
|
||||
to5.register();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user