Skip to content

Commit

Permalink
fix: Provide fallback if tsconfig exclude array is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
bencergazda committed Oct 8, 2021
1 parent b8dd583 commit 7670483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function build_project_path(cwd: string, project_path: string, ts_config: Parsed
ts_config_path: project_path,
root_dir: rootDir,
out_dir: outDir,
exclude,
exclude: exclude || [],
};
}

Expand Down

0 comments on commit 7670483

Please sign in to comment.