Skip to content

Commit 4162039

Browse files
committed
chore(build): remove ENOENT error on inexistent config file
closes #14
1 parent 46f9b43 commit 4162039

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/yaml.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const loadYAMLFile = function(configFile) {
2626
});
2727
return contents;
2828
} catch (e) {
29-
debug(e.message, e.name);
29+
if (e.code !== "ENOENT") {
30+
debug(e.message, e.name);
31+
}
3032
return false;
3133
}
3234
};

0 commit comments

Comments
 (0)