Skip to content

Commit

Permalink
ci: tests do not do mktempd because it doesn't work on github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Mar 14, 2024
1 parent 24f2d20 commit 5bc40b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/migrate-to-w3up-logging.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { readUploadsFromUploadMigrationFailuresNdjson } from '../w3up-migration.

/** make a temporary file path that can be used for test migration logfiles */
async function getTmpLogFilePath() {
const tmp = await fs.mkdtemp(await fs.realpath(tmpdir()))
const tmp = await fs.realpath(tmpdir())
const path = join(tmp, `migrate-to-w3up-test-${Date.now()}`)
return path
}
Expand Down

0 comments on commit 5bc40b9

Please sign in to comment.