Skip to content

Commit 86fbce6

Browse files
committed
fix(cli): use github for default gulpfile
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.
1 parent 2139cce commit 86fbce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function downloadDefaultGulpfile(){
252252
var deferred = Q.defer();
253253
var project = IonicProject.load();
254254
var branch = project.get('typescript') ? 'typescript' : 'master';
255-
var url = 'https://cdn.rawgit.com/driftyco/ionic2-app-base/' + branch + '/gulpfile.js';
255+
var url = 'https://raw.githubusercontent.com/driftyco/ionic2-app-base/' + branch + '/gulpfile.js';
256256

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

0 commit comments

Comments
 (0)