Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Jul 19, 2023
1 parent af8465a commit 85868b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"implicit-arrow-linebreak": "off",
"prefer-object-spread": "off",
"import/no-useless-path-segments": "off",
"import/extensions": "off"
"import/extensions": "off",
"default-param-last": "off"
}
}
5 changes: 1 addition & 4 deletions lib/specificUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,7 @@ const SpecificUtils = {
}

return global.browser.getProcessedConfig().then((config) => {
const currentTestFilePath = config.specs[currentSpecIndex].replace(
new RegExp('\\\\', 'g'),
'/'
);
const currentTestFilePath = config.specs[currentSpecIndex].replace(/\\\\/g, '/');
const processCwd = process.cwd().replace(/\\/g, '/');

const testFileDir = path.parse(
Expand Down

0 comments on commit 85868b8

Please sign in to comment.