Home
last modified time | relevance | path

Searched refs:tryAsync (Results 1 – 2 of 2) sorted by relevance

/expo/tools/src/
H A DGit.ts103 async tryAsync(args: string[], options: SpawnOptions = {}): Promise<boolean> { method in GitDirectory
367 return !(await this.tryAsync(['diff', '--quiet', '--', ...paths]));
382 return this.tryAsync(['merge-base', '--is-ancestor', commit, 'HEAD']);
/expo/tools/src/commands/
H A DUpdateReactNativeDocs.ts146 if (!(await rnRepo.tryAsync(['checkout', options.from]))) {
150 if (!(await rnRepo.tryAsync(['checkout', options.to]))) {