fmal/gulp-inline-source

illegal operation on a directory, read

MartijnHarmenzon opened this issue · 0 comments

When trying to use:

    .src([
      './dist/**/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

It fails.

    .src([
      './dist/analytics/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

Fails also.

The following works:

    .src([
      './dist/index.html'
    ])
    .pipe(inlinesource())
    .pipe(gulp.dest('./dist/'));

But I need to inline the code in the analytics folder also.

Error message:

Message:
EISDIR: illegal operation on a directory, read
Details:
errno: -4068
syscall: read
code: EISDIR
domainEmitter: [object Object]
domainThrown: false