Pass in full path to root cache dir

This commit is contained in:
Kevin Sawicki
2015-02-12 13:55:56 -08:00
parent 20b2be51d9
commit 718886a077
2 changed files with 2 additions and 2 deletions

View File

@@ -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")

View File

@@ -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();
}