Skip to content

Commit

Permalink
fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Defty committed May 22, 2020
1 parent 402f2ff commit 0549f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cypress-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = async (_on, config) => {
copyFolderRecursiveSync(
userIntegrationFolder || config.integrationFolder,
`${tempIntegrationFolder}`,
(fileContents, source, target) => modifySpec(fileContents, version, source, target, config.projectRoot),
(fileContents, source, target) => modifySpec(fileContents, version, source, target),
);

fs.renameSync(
Expand Down
2 changes: 1 addition & 1 deletion lib/cypress-plugin/modifySpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const path = require('path');
* @param {String} target - New target source for spec file.
* @returns {String} - New spec file with added before block
*/
module.exports = (fileContents, version, source, target, projectRoot) => {
module.exports = (fileContents, version, source, target) => {
const beforeBlock = esprima.parseScript(`
before(() => {
const path = require('path');
Expand Down

0 comments on commit 0549f40

Please sign in to comment.