Skip to content

Commit

Permalink
fix: make --inputglob and --outputcheck work on their own (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
deeptoaster authored May 12, 2024
1 parent abe4d6e commit e166548
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/helpers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ export const loadConfig = (file: string, output: IOutput): ITSConfig => {
if (TSCAliasConfig?.verbose) {
config.verbose = TSCAliasConfig.verbose;
}
if (TSCAliasConfig?.fileExtensions) {
config.fileExtensions = TSCAliasConfig.fileExtensions;
}
config.fileExtensions = TSCAliasConfig?.fileExtensions ?? {};

const replacerFile = config.replacers?.pathReplacer?.file;

Expand Down

0 comments on commit e166548

Please sign in to comment.