Skip to content

Commit

Permalink
Update error message wording
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Wilson <[email protected]>
  • Loading branch information
yousif-bugsnag and gingerbenw committed Jan 13, 2025
1 parent 94b1bbe commit 5511518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/expo-cli/lib/insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = async (projectRoot) => {
} else if (checkFileExists('App.js')) {
return await writeBugsnagImport('App.js')
} else {
throw new Error(`Couldn’t find App.js or App.ts/tsx in "${projectRoot}". Is this the root of your Expo project?`)
throw new Error(`Couldn’t find App.js or App.ts(x) in "${projectRoot}". Is this the root of your Expo project?`)
}
}

Expand Down

0 comments on commit 5511518

Please sign in to comment.