aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
authorkao <zichongkao@gmail.com>2018-12-08 08:35:00 +0800
committerkao <zichongkao@gmail.com>2018-12-08 09:06:52 +0800
commitf14603ca4d91ca72d9e81de53168230d85bc50aa (patch)
tree69eecd797c8c28f1b51513ffe01e7ab5e2104df1 /packages/monorepo-scripts
parentaa4fcebdc71fa58b12dc12ab03d7697444416c09 (diff)
downloaddexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.gz
dexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.tar.zst
dexon-0x-contracts-f14603ca4d91ca72d9e81de53168230d85bc50aa.zip
Implement prefer-template tslint rule
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/src/test_installation.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/test_installation.ts b/packages/monorepo-scripts/src/test_installation.ts
index 96875d0f9..5ae13b198 100644
--- a/packages/monorepo-scripts/src/test_installation.ts
+++ b/packages/monorepo-scripts/src/test_installation.ts
@@ -98,7 +98,7 @@ async function testInstallPackageAsync(
const lastChangelogVersion = JSON.parse(fs.readFileSync(changelogPath).toString())[0].version;
const packageName = installablePackage.packageJson.name;
utils.log(`Testing ${packageName}@${lastChangelogVersion}`);
- const packageDirName = path.join(...(packageName + '-test').split('/'));
+ const packageDirName = path.join(...`${packageName}-test`.split('/'));
// NOTE(fabio): The `testDirectory` needs to be somewhere **outside** the monorepo root directory.
// Otherwise, it will have access to the hoisted `node_modules` directory and the Typescript missing
// type errors will not be caught.