diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-26 20:23:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-26 20:23:45 +0800 |
commit | af4071e119b4cb651ae311ea1200fdd76f8123e7 (patch) | |
tree | 3a372122c44cb5592c51e5d39d5d00876044baaf | |
parent | 9947e643d0b201a0dad122fbe1a6f4a226469944 (diff) | |
download | dexon-0x-contracts-af4071e119b4cb651ae311ea1200fdd76f8123e7.tar.gz dexon-0x-contracts-af4071e119b4cb651ae311ea1200fdd76f8123e7.tar.zst dexon-0x-contracts-af4071e119b4cb651ae311ea1200fdd76f8123e7.zip |
Delete any remenants of test-env dir before creating a new one
-rw-r--r-- | packages/monorepo-scripts/src/test_installation.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/test_installation.ts b/packages/monorepo-scripts/src/test_installation.ts index 1d9e3569d..b10db5a06 100644 --- a/packages/monorepo-scripts/src/test_installation.ts +++ b/packages/monorepo-scripts/src/test_installation.ts @@ -25,6 +25,7 @@ import { utils } from './utils/utils'; const packageName = installablePackage.packageJson.name; utils.log(`Testing ${packageName}@${lastChangelogVersion}`); const testDirectory = path.join(monorepoRootPath, '../test-env'); + rimraf.sync(testDirectory); fs.mkdirSync(testDirectory); await execAsync('yarn init --yes', { cwd: testDirectory }); const npmrcFilePath = path.join(testDirectory, '.npmrc'); |