File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,13 @@ before(function(done){
2121 process . env . _METEORITE_REAL_CURL = which . sync ( 'curl' ) ;
2222 process . env . _METEORITE_REAL_METEOR = path . basename ( which . sync ( 'meteor' ) ) ;
2323
24- // make sure Meteor doesn't try to install into our soon to be clean home dir
25- process . env . METEOR_WAREHOUSE_DIR = path . join ( process . env . HOME , '.meteor' ) ;
24+ if ( ! process . env . METEOR_WAREHOUSE_DIR ) {
25+ // make sure Meteor doesn't try to install into our soon to be clean home dir
26+ process . env . METEOR_WAREHOUSE_DIR = path . join ( process . env . HOME , '.meteor' ) ;
27+ if ( process . platform == 'win32' ) {
28+ process . env . METEOR_WAREHOUSE_DIR = path . join ( process . env . LOCALAPPDATA || process . env . APPDATA , '.meteor' ) ;
29+ }
30+ }
2631
2732 // set our home dir so we can easily blow away meteorite installs
2833 wrench . mkdirSyncRecursive ( appHome ) ;
You can’t perform that action at this time.
0 commit comments