Skip to content

Commit

Permalink
fix(cli): use github for default gulpfile
Browse files Browse the repository at this point in the history
Rawgit permanently caches the file, so it doesn't update, which was the
whole point of using github.  Just use github directly, as probably not
too many people will need to upgrade their v2 projects and this will
eventually be removed anyways.
  • Loading branch information
tlancina committed Mar 28, 2016
1 parent 2139cce commit 86fbce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function downloadDefaultGulpfile(){
var deferred = Q.defer();
var project = IonicProject.load();
var branch = project.get('typescript') ? 'typescript' : 'master';
var url = 'https://cdn.rawgit.com/driftyco/ionic2-app-base/' + branch + '/gulpfile.js';
var url = 'https://raw.githubusercontent.com/driftyco/ionic2-app-base/' + branch + '/gulpfile.js';

console.info(('Downloading default gulpfile from: ' + url));

Expand Down

0 comments on commit 86fbce6

Please sign in to comment.