geekflyer / gulp-ui5-preload

Create a Component-preload.js file for openui5 / sapui5 projects
33 stars 10 forks source link

Given a more descriptive message when no files are provided. #4

Closed FelipeTaiarol closed 8 years ago

FelipeTaiarol commented 8 years ago

if the user tries this gulp.src([‘WRONG_PATH’]).pipe(ui5preload({base:'src/main/ui',namespace:' ui'})) this error will appear because the path is invalid or doesn't have any file. Cannot read property 'clone' of undefined. Which is not very informative.