Searched refs:targetGitIgnorePath (Results 1 – 2 of 2) sorted by relevance
| /expo/packages/@expo/cli/src/utils/__tests__/ |
| H A D | mergeGitIgnorePaths-test.ts | 107 expect(fs.existsSync(targetGitIgnorePath)).toBe(false); 116 targetGitIgnorePath, 152 await fs.promises.writeFile(targetGitIgnorePath, gitignore1); 153 removeFromGitIgnore(targetGitIgnorePath, '*/foo'); 155 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(` 169 targetGitIgnorePath, 186 removeFromGitIgnore(targetGitIgnorePath, 'test-string'); 188 expect(fs.readFileSync(targetGitIgnorePath, 'utf8')).toBe(` 219 await fs.promises.writeFile(targetGitIgnorePath, gitignore1); 245 targetGitIgnorePath, [all …]
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | mergeGitIgnorePaths.ts | 24 targetGitIgnorePath: string, 27 if (!fs.existsSync(targetGitIgnorePath)) { 38 const targetGitIgnore = fs.readFileSync(targetGitIgnorePath).toString(); 43 fs.writeFileSync(targetGitIgnorePath, merged.contents); 118 targetGitIgnorePath: string, 121 const targetGitIgnore = fs.readFileSync(targetGitIgnorePath, { 140 fs.writeFileSync(targetGitIgnorePath, merged.contents); 177 if (!fs.existsSync(targetGitIgnorePath)) { 181 let targetGitIgnore = fs.readFileSync(targetGitIgnorePath, 'utf-8'); 198 return fs.writeFileSync(targetGitIgnorePath, targetGitIgnore); [all …]
|