Closed vladdoster closed 2 years ago
@zyedidia Any input on this?
Currently the asset
and system
flags do not filter each other, instead the asset
option has priority. I will consider ways that this can be fixed.
@zyedidia
You could do something simple like...
package main
import (
"fmt"
"strings"
)
func main() {
# uses --system arg
fmt.Println(strings.Contains("Assume", "sum"))
# use --asset arg
fmt.Println(strings.HasSuffix("Hello World", "World"))
}
However, the more straightforward solution would leverage regex.
Thank you for the insight. Closing.
Can't grok logic for the returns asset choices
command in question
The above command and subsequently returned choices strikes me to believe that:
ex. I specify criteria of
.tar.gz
assets forLinux
, buteget
returneddarwin
assets that don't satisfy criteria.Happy to fix this, but wanted to get confirmation before doing needful.