Skip to content

Commit

Permalink
[Python] Fix nuget packages with hypens in their names
Browse files Browse the repository at this point in the history
Fix #3875
  • Loading branch information
MangelMaxime committed Sep 26, 2024
1 parent 3e1f4c8 commit 86ba347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fable.Compiler/ProjectCracker.fs
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ let copyFableLibraryAndPackageSourcesPy (opts: CrackerOptions) (pkgs: FablePacka
| _ ->
let name = Naming.applyCaseRule Core.CaseRules.SnakeCase pkg.Id

IO.Path.Combine(opts.FableModulesDir, name.Replace(".", "_"))
IO.Path.Combine(opts.FableModulesDir, name.Replace(".", "_").Replace("-", "_"))

copyDirIfDoesNotExist false sourceDir targetDir

Expand Down

0 comments on commit 86ba347

Please sign in to comment.