loewydesign / loewy-assets

A front-end asset pipeline driven by gulp.js.
MIT License
12 stars 3 forks source link

Configuration is incorrect when provided directories do not end in a trailing slash #1

Closed agopshi closed 9 years ago

agopshi commented 9 years ago

In gulpfile.js, this works:

var assetsDir = 'assets/dev/',
    publicDir = 'assets/release/';

This doesn't:

var assetsDir = 'assets/dev',
    publicDir = 'assets/release';

Need to check for a trailing slash, and if it's not there, add it automatically.

agopshi commented 9 years ago

Fixed in v0.1.0.