Skip to content

File content without carriage return is treated as path #46

Description

@Smolli

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions