mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Add packwiz binaries to default ignores (fixes #37)
This commit is contained in:
parent
f58e16ff81
commit
07c0af7bcb
@ -182,6 +182,10 @@ var ignoreDefaults = []string{
|
|||||||
|
|
||||||
// Exclude exported Modrinth packs
|
// Exclude exported Modrinth packs
|
||||||
"*.mrpack",
|
"*.mrpack",
|
||||||
|
|
||||||
|
// Exclude packwiz binaries, if the user puts them in their pack folder
|
||||||
|
"packwiz.exe",
|
||||||
|
"packwiz", // Note: also excludes packwiz/ as a directory - you can negate this pattern if you want a directory called packwiz
|
||||||
}
|
}
|
||||||
|
|
||||||
func readGitignore(path string) (*gitignore.GitIgnore, bool) {
|
func readGitignore(path string) (*gitignore.GitIgnore, bool) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user