Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann Chaudet committed Jul 19, 2022
1 parent 8f29fe2 commit 5941f86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/config-parser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const fs = require('fs')
const espree = require('espree')
const prettier = require('prettier')
const core = require('@actions/core')

/*
Expand Down
2 changes: 1 addition & 1 deletion src/set-pages-path.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('configParser', () => {
const fixtureTargetFile = `${tmpFolder}/${configurationFile}`
if (configurationFile != 'blank.js') {
fs.copyFileSync(fixtureSourceFile, fixtureTargetFile)
} else {
} else if (fs.existsSync(fixtureTargetFile)) {
fs.rmSync(fixtureTargetFile)
}

Expand Down

0 comments on commit 5941f86

Please sign in to comment.