mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-09 09:22:48 +03:00
apply gofumpt
This commit is contained in:
@@ -12,13 +12,12 @@ func isWSL() bool {
|
|||||||
|
|
||||||
// GetPlatformDefaultConfig gets the defaults for the platform
|
// GetPlatformDefaultConfig gets the defaults for the platform
|
||||||
func GetPlatformDefaultConfig() OSConfig {
|
func GetPlatformDefaultConfig() OSConfig {
|
||||||
|
|
||||||
if isWSL() {
|
if isWSL() {
|
||||||
return OSConfig{
|
return OSConfig{
|
||||||
EditCommand: ``,
|
EditCommand: ``,
|
||||||
EditCommandTemplate: "",
|
EditCommandTemplate: "",
|
||||||
OpenCommand: `powershell.exe start explorer.exe {{filename}} >/dev/null`,
|
OpenCommand: `powershell.exe start explorer.exe {{filename}} >/dev/null`,
|
||||||
OpenLinkCommand: `powershell.exe start {{link}} >/dev/null`,
|
OpenLinkCommand: `powershell.exe start {{link}} >/dev/null`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user