dreamzmaster / gulp-sitespeedio

Test performance budgets and performance best practice rules using sitespeed.io http://www.sitespeed.io
MIT License
37 stars 14 forks source link

urls option #3

Closed labbydev closed 9 years ago

labbydev commented 9 years ago

Right now the plugin shuts down when using urls option instead of the url option due to

if (!options.url) { throw new PluginError('gulp-sitespeedio', 'Missing url option to Analyse'); }

labbydev commented 9 years ago

I'd recommend:

if (!options.url && !options.urls) { throw new PluginError('gulp-sitespeedio', 'Missing url option to Analyse'); }

dreamzmaster commented 9 years ago

Thanks Sure will update!

dreamzmaster commented 9 years ago

Updated.