We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5d7be commit f04baa2Copy full SHA for f04baa2
tools/build-fixture.js
@@ -56,6 +56,10 @@ export const buildDirectory = async fixtureDir => {
56
await rimraf(resolve(`${fixturePath}/.rts2_cache_es`));
57
await rimraf(resolve(`${fixturePath}/.rts2_cache_umd`));
58
59
+ // Now that dirs have been cleared, reset the fixturePath back to the parent dir
60
+ if (fixtureDir.endsWith('-with-cwd')) {
61
+ fixturePath = resolve(FIXTURES_DIR, fixtureDir);
62
+ }
63
const script = await getBuildScript(fixturePath, DEFAULT_SCRIPT);
64
65
const prevDir = process.cwd();
0 commit comments