Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Commit b138f9f

Browse files
committed
chore(bug): (rarely) branches other than master / develop were causing problems
1 parent 86d5285 commit b138f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: install_linked_dependencies.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const linked_dependencies = require(path.resolve(process.env.UPDATE_DEPENDENCIES
99
fs.ensureDirSync(generator_dir);
1010

1111
Promise.map(linked_dependencies, generator => {
12-
let branch = process.env.TRAVIS_BRANCH || 'develop';
12+
let branch = (process.env.TRAVIS_BRANCH == 'master') ? 'master' : 'develop';
1313
return exec(`git clone -b ${branch} ${generator.repo}`, {cwd: generator_dir})
1414
.then(() => {
1515
// Check if the package.json exists

0 commit comments

Comments
 (0)