Skip to content

Commit 7530b4a

Browse files
feact(downstream): Use .downstream_cache for caching downstream packages for testing
1 parent 9c88536 commit 7530b4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_downstream_projects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const PKG_DIR = process.cwd();
99
const config = JSON.parse(fs.readFileSync('downstream_projects.json'));
1010
const pkgjson = JSON.parse(fs.readFileSync('package.json'));
1111

12-
const DOWNSTREAMS_PATH = path.resolve(PKG_DIR, 'downstream_projects');
12+
const DOWNSTREAMS_PATH = path.resolve(PKG_DIR, '.downstream_cache');
1313
const UPSTREAM_PKGS = (process.env.UPSTREAM_PKGS || '').split(',').filter(x => x).concat(pkgjson.name);
1414
const DOWNSTREAM_PKGS = (process.env.DOWNSTREAM_PKGS || '').split(',').filter(x => x);
1515

@@ -36,7 +36,7 @@ function forEachDownstream(callback) {
3636
function makeWorkingCopy() {
3737
process.chdir(PKG_DIR);
3838
if (!fs.existsSync(DOWNSTREAMS_PATH)) {
39-
console.log('making downstream_projects working directory');
39+
console.log('making .downstream_cache working directory');
4040
fs.mkdirSync(DOWNSTREAMS_PATH);
4141
}
4242
}

0 commit comments

Comments
 (0)