mariocasciaro / gulp-concat-css

Concatenates css files, bubbling up import statements (as per the standard), and optionally rebasing urls and inlining local import statements.
MIT License
78 stars 19 forks source link

Covers when file.contents is null #20

Closed edygar closed 9 years ago

edygar commented 9 years ago

I was having an issue sometimes when file.contents resulted in null. As vinyl's docs says options.contents might assume null value, I think it should be covered here either.

The problem I’m solving could be observed when uncommented gulp-concat-css at commit 097fde8b598d13be9fba5c2e2c1f649df4cb15ac on https://github.com/edygar/react-project-boilerplate/blob/master/gulp/tasks/styles.js#L9

mariocasciaro commented 9 years ago

Hi @edygar , thanks for the fix, it looks good.

mariocasciaro commented 9 years ago

Landed in 2.1.1