Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fantomas: remove invalid args #302

Merged
merged 1 commit into from
Jan 21, 2025
Merged

fantomas: remove invalid args #302

merged 1 commit into from
Jan 21, 2025

Conversation

khaneliman
Copy link
Contributor

@khaneliman khaneliman commented Jan 18, 2025

Argument doesn't exist anymore.

Current error:

 ERRO formatter | fantomas: failed to apply with options '[--inputs]': exit status 1
       
        Input path '--inputs' not found.

With change, I see fantomas runs properly.

diff --git a/templates/dotnetf/HelloWorld/Program.fs b/templates/dotnetf/HelloWorld/Program.fs
index 1e79610..a4a88ff 100644
--- a/templates/dotnetf/HelloWorld/Program.fs
+++ b/templates/dotnetf/HelloWorld/Program.fs
@@ -3,7 +3,7 @@ namespace HelloWorld
 [<RequireQualifiedAccess>]
 module Program =

-    let   construct (name : string) : string = sprintf "Hello, %s!" name
+    let construct (name : string) : string = sprintf "Hello, %s!" name

     [<EntryPoint>]
     let main argv =

@Mic92

Argument doesn't exist anymore.
@Mic92 Mic92 merged commit f2cc121 into numtide:main Jan 21, 2025
3 checks passed
@khaneliman khaneliman deleted the fantomas branch January 22, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants