updated for windows

This commit is contained in:
Marius Pana 2018-02-10 18:10:47 +02:00
parent 1caffe0000
commit f7f86ae7d5

View File

@ -41,7 +41,7 @@ if (process.env.TRITONTEST_CLI_CONFIG_DIR) {
* TODO: We should likely separate out the *cache* subdir to * TODO: We should likely separate out the *cache* subdir to
* machine-specific data dir. * machine-specific data dir.
*/ */
CLI_CONFIG_DIR = mod_path.resolve(process.env.APPDATA, 'Joyent', 'Triton'); CLI_CONFIG_DIR = mod_path.resolve(process.env.APPDATA, 'Spearhead', 'sc');
} else { } else {
CLI_CONFIG_DIR = mod_path.resolve(process.env.HOME, '.spearhead'); CLI_CONFIG_DIR = mod_path.resolve(process.env.HOME, '.spearhead');
} }