Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix --input-dir=. bug #1082

Merged
merged 1 commit into from
Mar 1, 2021
Merged

Fix --input-dir=. bug #1082

merged 1 commit into from
Mar 1, 2021

Conversation

hairyhenderson
Copy link
Owner

When using --input-dir ., gomplate fails with an error lstat <some file>: file does not exist. I'm still not entirely sure why this isn't working, but I believe it's a bug in xignore (I'll log a bug upstream at some point soon). The workaround is fairly straightforward though - just feed the absolute path instead for that specific case.

This came up in #1081 (comment).

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson self-assigned this Mar 1, 2021
Signed-off-by: Dave Henderson <[email protected]>
@hairyhenderson hairyhenderson force-pushed the fix-input-dir-cwd-bug branch from efb513c to 6d6dceb Compare March 1, 2021 01:48
@hairyhenderson hairyhenderson enabled auto-merge March 1, 2021 01:48
@hairyhenderson hairyhenderson merged commit 0ef2065 into master Mar 1, 2021
@hairyhenderson hairyhenderson deleted the fix-input-dir-cwd-bug branch March 1, 2021 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant