Skip to content

Commit

Permalink
fix: use correct method name for loading config file from path
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Aug 6, 2024
1 parent e9e0063 commit 9d01ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/get-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function getDefaults(directoryOrFilepath) {
return configStore.findInDirectory(directoryOrFilepath);
} else {
// @ts-expect-error
return configStore.loadExact(directoryOrFilepath);
return configStore.loadFromPath(directoryOrFilepath);
}
} catch (error) {
const e = /** @type {Error} */ (error);
Expand Down

0 comments on commit 9d01ca4

Please sign in to comment.