aboutsummaryrefslogtreecommitdiffstats
path: root/lib/open.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/open.go')
-rw-r--r--lib/open.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open.go b/lib/open.go
index c5d4b1c0..c29ed009 100644
--- a/lib/open.go
+++ b/lib/open.go
@@ -35,7 +35,7 @@ func NewXDGOpen(filename string) *xdgOpen {
func (xdg *xdgOpen) SetArgs(args []string) {
args = append([]string{}, args...) // don't overwrite array of caller
filename := xdg.args[len(xdg.args)-1]
- xdg.args = append(args, filename)
+ xdg.args = append(args, filename) //nolint:gocritic // intentional append to different slice
}
// Start the open handler.