Skip to content

Commit

Permalink
test: fix prepare test script
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Sep 19, 2023
1 parent 96f6b18 commit b6515d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare-test.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function downloadTestRoms() {

const roms = testRomsGroups[systemFullName]
for (const rom of roms) {
if (!(await fs.exists(rom))) {
if (!(await fs.exists(path.join(systemRomsDirectory, rom)))) {
const romUrl = `${testRomsBaseUrl}${encodeURIComponent(systemFullName)}/${encodeURIComponent(rom)}`
await $`curl ${romUrl} -o ${rom}`
}
Expand Down

0 comments on commit b6515d6

Please sign in to comment.