Skip to content

Commit

Permalink
fix: updated error msg for jsconfig in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
KMJ-007 committed Oct 7, 2023
1 parent 43c4023 commit 6f0dddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/get-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function resolveConfigPaths(cwd: string, config: RawConfig) {

if (tsConfig.resultType === "failed") {
throw new Error(
`Failed to load tsconfig.json. ${tsConfig.message ?? ""}`.trim()
`Failed to load ${config.tsx ? "tsconfig" : "jsconfig"}.json. ${tsConfig.message ?? ""}`.trim()
)
}

Expand Down

0 comments on commit 6f0dddb

Please sign in to comment.