Skip to content

Commit

Permalink
attempt to fix liniting
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Edney committed Jan 24, 2024
1 parent 23c0e83 commit e11caad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-cli/src/lib/Xcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function updateXcodeEnv (projectRoot: string, logger: Logger): Promise<boo

const xcodeEnvData = await fs.readFile(envFilePath, 'utf8')

if (xcodeEnvData.includes(searchString)) {
if (xcodeEnvData.includes('SOURCEMAP_FILE=')) {
logger.warn(`The .xcode.env file already contains a section for "${searchString}"`)
return false
} else {
Expand Down

0 comments on commit e11caad

Please sign in to comment.