Skip to content

Commit 331c71a

Browse files
baronfelKrzysztof-Cieslak
authored andcommitted
remove hardcoded path
1 parent d90597c commit 331c71a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/FsAutoComplete/Parser.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ open Serilog.Filters
1212

1313
module Parser =
1414
open System.Threading.Tasks
15+
1516
[<Struct>]
1617
type Pos = { Line: int; Column: int }
1718

@@ -87,7 +88,7 @@ module Parser =
8788
|> zero
8889

8990
let stateLocationOption =
90-
Option<DirectoryInfo>("--state-directory", getDefaultValue = Func<_> (fun () -> DirectoryInfo("C:\\Users\\chusk")), description = "Set the directory to store the state of the server. This should be a per-workspace location, not a shared-workspace location.")
91+
Option<DirectoryInfo>("--state-directory", getDefaultValue = Func<_> (fun () -> DirectoryInfo System.Environment.CurrentDirectory), description = "Set the directory to store the state of the server. This should be a per-workspace location, not a shared-workspace location.")
9192

9293
let rootCommand =
9394
let rootCommand = RootCommand("An F# LSP server implementation")

0 commit comments

Comments
 (0)