Skip to content

Commit b44fde7

Browse files
committed
Address PR feedback
1 parent 3172a9a commit b44fde7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cli/serve/serve.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,8 @@ function isServerlessCapableDistribution() {
110110
* @param {'push' | 'unshift'} method
111111
*/
112112
function maybeAddConfig(name, configs, method) {
113-
const path = resolve(getConfigDirectory(), name);
114113
if (configFileExists(name)) {
115-
configs[method](path);
114+
configs[method](resolve(getConfigDirectory(), name));
116115
}
117116
}
118117

0 commit comments

Comments
 (0)