Skip to content

Commit bcc8c72

Browse files
committed
Run formatter
1 parent 0bb3580 commit bcc8c72

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tools/karma-safari-launcher/index.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ var SafariBrowser = function (baseBrowserDecorator) {
2626
// dialog to open.
2727
// Reading and writing to this directory requires Full Disk access, which can be granted on macOS > 13 at
2828
// '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+
);
3033
const HTML_TRAMPOLINE_PATH = path.join(SAFARI_DATA_DIR, 'redirect.html');
3134

3235
this._start = function (url) {
@@ -54,7 +57,7 @@ var SafariBrowser = function (baseBrowserDecorator) {
5457

5558
fs.writeFile(HTML_TRAMPOLINE_PATH, htmlTrampoline, function (err) {
5659
if (err) {
57-
console.error('Error writing file:', err)
60+
console.error('Error writing file:', err);
5861
return;
5962
}
6063

@@ -67,7 +70,7 @@ var SafariBrowser = function (baseBrowserDecorator) {
6770
SafariBrowser.prototype = {
6871
name: 'Safari',
6972
DEFAULT_CMD: {
70-
darwin: '/Applications/Safari.app/Contents/MacOS/Safari',
73+
darwin: '/Applications/Safari.app/Contents/MacOS/Safari'
7174
},
7275
ENV_CMD: 'SAFARI_BIN'
7376
};

0 commit comments

Comments
 (0)