Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Apr 18, 2023
1 parent 3172a9a commit b44fde7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli/serve/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ function isServerlessCapableDistribution() {
* @param {'push' | 'unshift'} method
*/
function maybeAddConfig(name, configs, method) {
const path = resolve(getConfigDirectory(), name);
if (configFileExists(name)) {
configs[method](path);
configs[method](resolve(getConfigDirectory(), name));
}
}

Expand Down

0 comments on commit b44fde7

Please sign in to comment.