Skip to content

Commit 8a365a2

Browse files
authored
Handle showbrowser argument for cordova-tools (#450)
* Handle showbrowser argument for cordova-tools * Update
1 parent fad25b9 commit 8a365a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/browsers/browser.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ function launchBrowser(opts) {
1818
const url = opts.url || '';
1919
let showBrowser = opts.showBrowser;
2020

21-
if (!showBrowser) {
21+
// Handle showbrowser argument sent from cordova-tools and other unknown scenarios
22+
// Only showbrowser = false will return method
23+
if (showBrowser == false) {
2224
return;
2325
}
2426

0 commit comments

Comments
 (0)