This commit is contained in:
parent
e01b0b3951
commit
b55b582b69
4 changed files with 39 additions and 39 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
// New creates a new anonymous in-memory file.
|
||||
func New(name string) (*os.File, error) {
|
||||
pattern := ""
|
||||
pattern := "*"
|
||||
|
||||
if global.OS == "windows" {
|
||||
pattern = "*.exe"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue