mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
test: fix macos chrome detection
This commit is contained in:
parent
7770a833c6
commit
583e32a3ef
@ -47,7 +47,7 @@ export default class ChromeDetector {
|
||||
}
|
||||
execSync(
|
||||
`${LSREGISTER} -dump` +
|
||||
" | grep -i '(google chrome\\( canary\\)\\?|chromium).app$'" +
|
||||
' | grep -E -i \'(google chrome( canary)?|chromium).app$\'' +
|
||||
' | awk \'{$1=""; print $0}\''
|
||||
)
|
||||
.toString()
|
||||
|
Loading…
Reference in New Issue
Block a user