We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b6623 commit 964721dCopy full SHA for 964721d
packages/cli-hermes/src/profileHermes/downloadProfile.ts
@@ -16,7 +16,7 @@ import {
16
*/
17
function getLatestFile(packageName: string): string {
18
try {
19
- const file = execSync(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | egrep '.cpuprofile' | head -1
+ const file = execSync(`adb shell run-as ${packageName} ls cache/ -tp | grep -v /$ | grep -E '.cpuprofile' | head -1
20
`);
21
return file.toString().trim();
22
} catch (e) {
0 commit comments