We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2e5d4 commit 1a259cdCopy full SHA for 1a259cd
index.js
@@ -1,7 +1,10 @@
1
+var path = require('path');
2
var configFilePath = process.argv[2];
3
var config = {};
4
5
if (configFilePath) {
6
+ configFilePath = path.resolve(configFilePath);
7
+
8
try {
9
config = require(configFilePath);
10
} catch(e) {
0 commit comments