mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-05-22 10:15:43 +02:00
Bump github.com/spf13/afero from 1.9.5 to 1.15.0
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.5 to 1.15.0. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](https://github.com/spf13/afero/compare/v1.9.5...v1.15.0) --- updated-dependencies: - dependency-name: github.com/spf13/afero dependency-version: 1.15.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
+2
-2
@@ -113,11 +113,11 @@ func GetTempDir(fs Fs, subPath string) string {
|
||||
if subPath != "" {
|
||||
// preserve windows backslash :-(
|
||||
if FilePathSeparator == "\\" {
|
||||
subPath = strings.Replace(subPath, "\\", "____", -1)
|
||||
subPath = strings.ReplaceAll(subPath, "\\", "____")
|
||||
}
|
||||
dir = dir + UnicodeSanitize((subPath))
|
||||
if FilePathSeparator == "\\" {
|
||||
dir = strings.Replace(dir, "____", "\\", -1)
|
||||
dir = strings.ReplaceAll(dir, "____", "\\")
|
||||
}
|
||||
|
||||
if exists, _ := Exists(fs, dir); exists {
|
||||
|
||||
Reference in New Issue
Block a user