Skip to content

Commit

Permalink
Update namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Jun 28, 2023
1 parent 28ecbd9 commit d37c62e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/FantomasOnlineMain/FormatCode.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module FantomasOnlineMain.FormatCode

open FSharp.Compiler.Text
open Fantomas.FCS.Text
open Fantomas.Core
open FantomasOnline.Shared
open FantomasOnline.Server.Shared.Http
Expand Down
4 changes: 2 additions & 2 deletions src/server/FantomasOnlineV6/FormatCode.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module FantomasOnlineV6.FormatCode

open FantomasTools.Client
open Fantomas.FCS
open Fantomas.FCS.Parse
open Fantomas.Core
open FantomasOnline.Shared
Expand Down Expand Up @@ -41,8 +42,7 @@ let private validate (fileName: string) code =
async {
let isSignature = fileName.EndsWith(".fsi")

let _tree, diagnostics =
parseFile isSignature (FSharp.Compiler.Text.SourceText.ofString code) []
let _tree, diagnostics = parseFile isSignature (Text.SourceText.ofString code) []

return
diagnostics
Expand Down

0 comments on commit d37c62e

Please sign in to comment.