Skip to content

Commit 77e492d

Browse files
committed
Always use arduino-cli in user-agent string
1 parent 6281ce7 commit 77e492d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

version/version.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
package version
1717

1818
import (
19-
"os"
20-
"path/filepath"
21-
2219
"github.com/arduino/arduino-cli/internal/i18n"
2320
)
2421

@@ -70,5 +67,5 @@ func init() {
7067
versionString = defaultVersionString
7168
}
7269

73-
VersionInfo = NewInfo(filepath.Base(os.Args[0]))
70+
VersionInfo = NewInfo("arduino-cli")
7471
}

0 commit comments

Comments
 (0)