File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
tools/karma-safari-launcher Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,10 @@ var SafariBrowser = function (baseBrowserDecorator) {
26
26
// dialog to open.
27
27
// Reading and writing to this directory requires Full Disk access, which can be granted on macOS > 13 at
28
28
// 'System Settings' > 'Privacy & Security' > 'Full Disk Access'.
29
- const SAFARI_DATA_DIR = path . join ( os . homedir ( ) , 'Library/Containers/com.apple.Safari/Data' )
29
+ const SAFARI_DATA_DIR = path . join (
30
+ os . homedir ( ) ,
31
+ 'Library/Containers/com.apple.Safari/Data'
32
+ ) ;
30
33
const HTML_TRAMPOLINE_PATH = path . join ( SAFARI_DATA_DIR , 'redirect.html' ) ;
31
34
32
35
this . _start = function ( url ) {
@@ -54,7 +57,7 @@ var SafariBrowser = function (baseBrowserDecorator) {
54
57
55
58
fs . writeFile ( HTML_TRAMPOLINE_PATH , htmlTrampoline , function ( err ) {
56
59
if ( err ) {
57
- console . error ( 'Error writing file:' , err )
60
+ console . error ( 'Error writing file:' , err ) ;
58
61
return ;
59
62
}
60
63
@@ -67,7 +70,7 @@ var SafariBrowser = function (baseBrowserDecorator) {
67
70
SafariBrowser . prototype = {
68
71
name : 'Safari' ,
69
72
DEFAULT_CMD : {
70
- darwin : '/Applications/Safari.app/Contents/MacOS/Safari' ,
73
+ darwin : '/Applications/Safari.app/Contents/MacOS/Safari'
71
74
} ,
72
75
ENV_CMD : 'SAFARI_BIN'
73
76
} ;
You can’t perform that action at this time.
0 commit comments