Skip to content

Commit 01e6dcd

Browse files
committed
#166 [LS] - Ensure path format on json config for windows and linux compatibility.
1 parent b702678 commit 01e6dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (c *client) writeConfigToFile(fileName string, path string, template func()
182182
dataBaseLocation := strings.Replace(
183183
template(),
184184
"#DATABASE",
185-
filepathJoin(c.configDir, configDBName),
185+
filepath.ToSlash(filepathJoin(c.configDir, configDBName)),
186186
1,
187187
)
188188

0 commit comments

Comments
 (0)