improve triggr detection

This commit is contained in:
2016-06-23 22:22:03 +02:00
parent 3e80ea15e0
commit 3298b6298e
13 changed files with 84 additions and 63 deletions

View File

@@ -33,7 +33,7 @@ export let configStore = () => {
let configLoad = () => {
// internal config to transfer information in between npmci shell calls
try {
config = plugins.smartfile.local.toObjectSync(paths.NpmciPackageConfig,"json");
config = plugins.smartfile.fs.toObjectSync(paths.NpmciPackageConfig,"json");
}
catch(err){
config = {};
@@ -44,7 +44,7 @@ let configLoad = () => {
// project config
try {
if(!config.project){
config.project = plugins.smartfile.local.toObjectSync(paths.NpmciProjectDir,"npmci.json");
config.project = plugins.smartfile.fs.toObjectSync(paths.NpmciProjectDir,"npmci.json");
plugins.beautylog.ok("project config found!");
};
}