File content without carriage return is treated as path
Smolli opened this issue · 0 comments
Smolli commented
If the sources do contain a file with a one-line content (no newline at the end) you'll get an error that a file cannot be opened.
Example
Content of file nocr.tmpl
:
'Just a test'
Error while gulp is running:
Error in plugin "gulp-inline-source"
Message:
ENOENT: no such file or directory, open '/path/to/project/'Just a test''
Details:
errno: -2
code: ENOENT
syscall: open
path: open '/path/to/project/'Just a test'