javanile / yamlinc

Compose multiple YAML files into one with $include tag. Split Swagger/OpenAPI into multiple YAML files.
MIT License
114 stars 22 forks source link

Changes helpers.fileExists to use regular stat instead of lstat. #21

Closed tgockel closed 5 years ago

tgockel commented 5 years ago

This fixes issue #20 -- where you get "file not found" errors when the target of an $include is a symlink to a file. Use of stat means the system will follow these symlinks instead of returning information about the link itself.

francescobianco commented 5 years ago

@tgockel Good work!! Thanks for your support. :-)