Skip to content

Commit

Permalink
Merge pull request #12961 from jhipster/skip_ci_jdl_main
Browse files Browse the repository at this point in the history
Change jdl command to use main branch.
  • Loading branch information
DanielFran authored Nov 4, 2020
2 parents 7e4ec9c + d9f767f commit 444aab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/jdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = (args, options = {}, env, forkProcess) => {
if (options.skipSampleRepository) {
return Promise.reject(new Error(`Could not find ${filename}, make sure the path is correct.`));
}
url = new URL(filename, 'https://raw.githubusercontent.com/jhipster/jdl-samples/master/').toString();
url = new URL(filename, 'https://raw.githubusercontent.com/jhipster/jdl-samples/main/').toString();
filename = path.basename(filename);
}
return downloadFile(url, filename);
Expand Down

0 comments on commit 444aab8

Please sign in to comment.