Unable to read "src" file (Error code: EISDIR)
ptitgraig opened this issue · 0 comments
ptitgraig commented
I get the following error Unable to read "src" file (Error code: EISDIR) with the following config:
target: {
options: {
relative: false,
template: '<%= settings.target %>/<%= settings.app %>/index.html',
destFile: '<%= settings.target %>/<%= settings.app %>/index.html',
},
files: {
src : [
'<%= settings.app %>/modules/app.module.js'
]
}
}
}
There is a non handle case when trying to define lineEnding
from destination file.
If options.destFile
is defined, it gets overriden every time by src
.
Error is in getDefaultLineEnding()
.