Skip to content

Commit

Permalink
Remove todo after adding it to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic committed Sep 25, 2024
1 parent 7600288 commit 2b0c0ff
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions waspc/src/Wasp/Project/Analyze.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,6 @@ findWaspFile waspDir = do
where
findWaspTsFile files = WaspTs <$> findFileThatEndsWith ".wasp.mts" files
findWaspLangFile files = WaspLang <$> findFileThatEndsWith ".wasp" files
-- TODO: We used to have a check that made sure not to misidentify the .wasp
-- dir as a wasp file, but that's not needed (fst <$>
-- IOUtil.listDirectory already takes care of that and says so in its signature).
-- A bigger problem is if the user has a file with the same name as the wasp dir,
-- but that's a problem that should be solved in a different way (it's
-- still possible to have both main.wasp and .wasp files and cause that
-- error).
-- TODO: Try out what happens when Wasp finds this file, but the tsconfing setup and package are missing
findFileThatEndsWith suffix files = SP.castFile . (waspDir </>) <$> find ((suffix `isSuffixOf`) . toFilePath) files

Expand Down

0 comments on commit 2b0c0ff

Please sign in to comment.