Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit bca8e91

Browse files
committed
Fixes const binding in replace config test. Fixes #18. Fixes #20
1 parent d7da016 commit bca8e91

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/issue_template.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### General information
2+
3+
- NodeJS version: x.x.x
4+
- NPM version: x.x.x
5+
6+
### Problem description
7+
8+
### Reproduction steps

test/replace_config_paths.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ tap.test('replaceConfigPaths ->', t => {
77
for (const k of Object.keys(newConfig.paths.source)) {
88
t.ok(/^projectDir\/sourceDir\/|^node_modules/.test(newConfig.paths.source[k]), `should be ok for newConfig.paths.source.${k}`);
99
}
10-
for (const k of Object.keys(newConfig.paths.public)) {
11-
t.ok(/^projectDir\/publicDir\//.test(newConfig.paths.public[k]), `should be ok for newConfig.paths.public.${k}`);
10+
for (const l of Object.keys(newConfig.paths.public)) {
11+
t.ok(/^projectDir\/publicDir\//.test(newConfig.paths.public[l]), `should be ok for newConfig.paths.public.${l}`);
1212
}
1313
t.ok(/^projectDir\/exportDir/.test(newConfig.patternExportDirectory), `should be ok for newConfig.patternExportDirectory`);
1414
t.end();

0 commit comments

Comments
 (0)