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 c7f91d0 commit ded2478Copy full SHA for ded2478
src/utils/detectors/chrome.js
@@ -44,11 +44,11 @@ export default class ChromeDetector {
44
if (customChromePath) {
45
installations.push(customChromePath)
46
}
47
- execSync(`
48
- ${LSREGISTER} -dump
49
- | grep -E -i -o '/.+(google chrome( canary)?|chromium)\\.app(\\s|$)'
50
- | grep -E -v 'Caches|TimeMachine|Temporary|/Volumes|\\.Trash'
51
- `)
+ execSync(
+ `${LSREGISTER} -dump` +
+ " | grep -E -i -o '/.+(google chrome( canary)?|chromium)\\.app(\\s|$)'" +
+ " | grep -E -v 'Caches|TimeMachine|Temporary|/Volumes|\\.Trash'"
+ )
52
.toString()
53
.split(newLineRegex)
54
.forEach((inst) => {
0 commit comments