| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f336236 commit e08a98f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,11 +89,7 @@ const testRoot = process.env.NODE_TEST_DIR ? | |||
| 89 | 89 | ||
| 90 | 90 | // Using a `.` prefixed name, which is the convention for "hidden" on POSIX, | |
| 91 | 91 | // gets tools to ignore it by default or by simple rules, especially eslint. | |
| 92 | - let tmpdirName = '.tmp'; | ||
| 93 | - if (process.env.TEST_THREAD_ID) { | ||
| 94 | - tmpdirName += `.${process.env.TEST_THREAD_ID}`; | ||
| 95 | - } | ||
| 96 | - | ||
| 92 | + const tmpdirName = '.tmp.' + (process.env.TEST_THREAD_ID || '0'); | ||
| 97 | 93 | const tmpPath = path.join(testRoot, tmpdirName); | |
| 98 | 94 | ||
| 99 | 95 | function refresh(opts = {}) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments