Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Jul 26, 2024
1 parent 0bb3580 commit bcc8c72
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tools/karma-safari-launcher/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ var SafariBrowser = function (baseBrowserDecorator) {
// dialog to open.
// Reading and writing to this directory requires Full Disk access, which can be granted on macOS > 13 at
// 'System Settings' > 'Privacy & Security' > 'Full Disk Access'.
const SAFARI_DATA_DIR = path.join(os.homedir(), 'Library/Containers/com.apple.Safari/Data')
const SAFARI_DATA_DIR = path.join(
os.homedir(),
'Library/Containers/com.apple.Safari/Data'
);
const HTML_TRAMPOLINE_PATH = path.join(SAFARI_DATA_DIR, 'redirect.html');

this._start = function (url) {
Expand Down Expand Up @@ -54,7 +57,7 @@ var SafariBrowser = function (baseBrowserDecorator) {

fs.writeFile(HTML_TRAMPOLINE_PATH, htmlTrampoline, function (err) {
if (err) {
console.error('Error writing file:', err)
console.error('Error writing file:', err);
return;
}

Expand All @@ -67,7 +70,7 @@ var SafariBrowser = function (baseBrowserDecorator) {
SafariBrowser.prototype = {
name: 'Safari',
DEFAULT_CMD: {
darwin: '/Applications/Safari.app/Contents/MacOS/Safari',
darwin: '/Applications/Safari.app/Contents/MacOS/Safari'
},
ENV_CMD: 'SAFARI_BIN'
};
Expand Down

0 comments on commit bcc8c72

Please sign in to comment.