We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59e6e90 commit 4dfa3e7Copy full SHA for 4dfa3e7
src/cfg-resolve.js
@@ -1,3 +1,4 @@
1
+import path from 'path';
2
import getCff from 'get-cff';
3
import toCamelCase from 'to-camel-case';
4
import pathExists from 'path-exists';
@@ -7,6 +8,7 @@ export default (flags = {}) => new Promise(async resolve => {
7
8
let {config, use} = flags;
9
10
if (config) {
11
+ config = path.resolve(config);
12
config = await pathExists(config) ? await getCff(config) : {};
13
}
14
0 commit comments