You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.
Run ~/go/bin/packr2_bug, and you'll see the expected bundled file, "junk-from-packr2.txt"
Now mkdir -p /tmp/junk/assets && cd /tmp/junk && touch assets/this-was-in-pwd-assets.txt. You've created a "junk" directory with a subdirectory named "assets", which has a file named "this-was-in-pwd-assets.txt" in it.
Run ~/bin/packr2_bug. The output will be the pwd's assets subdirectory ("this-was-in-pwd-assets.txt") instead of the bundled file.
The text was updated successfully, but these errors were encountered:
A complete and easy demonstration of this (severe) bug is in https://github.com/rfay/packr2_bug,
To recreate this:
go install packr2_bug.go
~/go/bin/packr2_bug
, and you'll see the expected bundled file, "junk-from-packr2.txt"mkdir -p /tmp/junk/assets && cd /tmp/junk && touch assets/this-was-in-pwd-assets.txt
. You've created a "junk" directory with a subdirectory named "assets", which has a file named "this-was-in-pwd-assets.txt" in it.~/bin/packr2_bug
. The output will be the pwd's assets subdirectory ("this-was-in-pwd-assets.txt") instead of the bundled file.The text was updated successfully, but these errors were encountered: