Skip to content

Commit 1cfc3ad

Browse files
authored
Merge pull request #84 from AlanBlanchetNeovision/hotfix/optional-options
[FIX]Set configPaths options empty object by default
2 parents 80c8a06 + 7c4140b commit 1cfc3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-app-alias/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function configPaths(configPath = '', confUndoc) {
180180
return aliasMap
181181
}
182182

183-
function defaultOptions(options) {
183+
function defaultOptions(options = {}) {
184184
const configPath = configFilePathSafe(
185185
options.tsconfig || options.jsconfig
186186
)

0 commit comments

Comments
 (0)