Skip to content

Commit

Permalink
fix windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeh committed Jan 13, 2020
1 parent a40fda6 commit ca83db8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ const run = async tests => {
const suiteNames = Object.keys(tests)

let packagePath = path.join(process.cwd(), 'package.json')
if (path.sep === '\\') {
packagePath = 'file:\\\\\\' + packagePath
}

const content = await fs.readFile(packagePath, 'utf8')
const { name } = JSON.parse(content)
Expand Down

0 comments on commit ca83db8

Please sign in to comment.