Fix --ignore flag while skipping updates ammended
Ammend to 58d53b1
Thought this was already included in the commit.
This commit is contained in:
1 file changed
+7
-4
+7
-4
@@ -115,12 +115,15 @@ func install(parser *arguments) error {
|
||||
}
|
||||
|
||||
value, _, exists := cmdArgs.getArg("ignore")
|
||||
ignoreStr := strings.Join(ignore.toSlice(), ",")
|
||||
if exists {
|
||||
ignoreStr += "," + value
|
||||
|
||||
if len(ignore) > 0 {
|
||||
ignoreStr := strings.Join(ignore.toSlice(), ",")
|
||||
if exists {
|
||||
ignoreStr += "," + value
|
||||
}
|
||||
arguments.options["ignore"] = ignoreStr
|
||||
}
|
||||
|
||||
arguments.options["ignore"] = ignoreStr
|
||||
fmt.Println()
|
||||
|
||||
for pkg := range aurUp {
|
||||
|
||||
Reference in new issue
Block a user