Skip to content

Commit

Permalink
Merge pull request #84 from AlanBlanchetNeovision/hotfix/optional-opt…
Browse files Browse the repository at this point in the history
…ions

[FIX]Set configPaths options empty object by default
  • Loading branch information
oklas authored Jul 23, 2022
2 parents 80c8a06 + 7c4140b commit 1cfc3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app-alias/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function configPaths(configPath = '', confUndoc) {
return aliasMap
}

function defaultOptions(options) {
function defaultOptions(options = {}) {
const configPath = configFilePathSafe(
options.tsconfig || options.jsconfig
)
Expand Down

0 comments on commit 1cfc3ad

Please sign in to comment.