We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4884c10 commit 5442c0bCopy full SHA for 5442c0b
builder/src/Build.hs
@@ -962,7 +962,7 @@ findLoc :: Env -> FilePath -> FilePath -> Either Exit.BuildProjectProblem Locati
962
findLoc (Env _ root _ srcDirs _ _) path absolutePath =
963
let
964
(dirs, file) = FP.splitFileName absolutePath
965
- (final, ext) = break (=='.') file
+ (final, ext) = FP.splitExtension file
966
in
967
if ext /= ".elm"
968
then Left (Exit.BP_WithBadExtension path)
0 commit comments