Janpot/gulp-htmlbuild — pull request #6 by brandly (2014-07-31 17:46:19+00:00)
Title: leaving behind a null

in my `gulpfile.js`, i have:

```js
gulp.task('index', function () {
return gulp.src('app/index.html')
.pipe(htmlbuild({
js: htmlbuild.preprocess.js(function (block) {
block
.pipe(gulpSrc())
.pipe(concat('libraries.js'))
.pipe(gulp.dest(('app/scripts/'));

block.end('scripts/libraries.js');
})
}))
.pipe(gulp.dest(prefix('app/')));
});
```

where `gulpSrc` is taken from the example in the docs.

in my `index.html`, i have:

```html

```

and when i run the task, i end up with:

```html
null
```

----

where's that leading `null` coming from?