Skip to content

Commit

Permalink
refactor: remove platform-specific handling of tmp config path
Browse files Browse the repository at this point in the history
  • Loading branch information
msudgh committed Aug 25, 2024
1 parent 2d59ca5 commit 7bf60fc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,5 @@ export const getTmpConfigFilePath = () => {
}

export const destroyConfigMockFile = async (path: string) => {
if (platform() === 'win32') {
return await rm(path.normalize(path), { force: true })
}

return await rm(path, { force: true })
}

0 comments on commit 7bf60fc

Please sign in to comment.