* fix: node s2i build when node_modules present
This is workaround for two bug in another components:
* The s2i CLI/library is not honoring the `--exclude` flag when used with
the `--as-dockerfile` flag.
* The node s2i image is not working if project contains `node_modules`
directory with NodeJS modules.
If only one of the bugs above were fixed this commit wouldn't be
necessary.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fix: project root escape link detection
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fix: ignore node_modules for s2i on cluster build
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: style
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>