Skip to content

Commit 7ffd250

Browse files
fix(cli/commands): pulling incorrect provider hooks
1 parent d98c963 commit 7ffd250

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { loadConfig } = require(`./load`);
22

33
const buildConfig = (...options) => {
4-
return loadConfig(options);
4+
return loadConfig(...options);
55
};
66

77
module.exports = {

config/load.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const { defu } = require(`defu`);
22
const defaultConfig = require(`./default`);
33
const { providers } = require(`./providers`);
44

5-
const loadConfig = options => {
6-
return defu(options, defaultConfig);
5+
const loadConfig = (...options) => {
6+
return defu(...options, defaultConfig);
77
};
88

99
const loadProviderConfig = name => {

0 commit comments

Comments
 (0)