on master help sign in
Update for Stuff.metadata to Stuff.package rename
commite17544756e1f021cb29c2f1d48b2ca0a069f94a8 authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 22 Feb 2019, 12:15 (8 years ago) parentf3e9c0a
1 file changed+2−1
builder/src/Deps/Diff.hs+2−1
builder/src/Deps/Diff.hs+2−1
@@ -19,6 +19,7 @@ import qualified Data.Map as Map
1919import qualified Data.Name as Name
2020import qualified Data.Set as Set
2121import qualified Data.Utf8 as Utf8
22+import System.FilePath ((</>))
2223
2324import qualified Deps.Website as Website
2425import qualified Elm.Compiler.Type as Type
@@ -356,7 +357,7 @@ changeMagnitude (Changes added changed removed) =
356357
357358getDocs :: Stuff.PackageCache -> Http.Manager -> Pkg.Name -> V.Version -> IO (Either Exit.DocsProblem Docs.Documentation)
358359getDocs cache manager name version =
359− do let path = Stuff.metadata cache name version "docs.json"
360+ do let path = Stuff.package cache name version </> "docs.json"
360361 exists <- File.exists path
361362 if exists
362363 then