From 6019524a870f81ef14877e999e4ac873e210b327 Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Mon, 10 Apr 2023 11:31:48 +0200 Subject: [PATCH] Inline projectReadme --- src/Review/Rule.elm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Review/Rule.elm b/src/Review/Rule.elm index 0f457863..2121e25a 100644 --- a/src/Review/Rule.elm +++ b/src/Review/Rule.elm @@ -4405,10 +4405,6 @@ computeReadme : -> { project : ValidProject, step : Step, ruleProjectVisitors : List RuleProjectVisitor, fixedErrors : FixedErrors } computeReadme reviewOptions project ruleProjectVisitors fixedErrors = let - projectReadme : Maybe { path : String, content : String } - projectReadme = - ValidProject.readme project - readmeData : Maybe { readmeKey : ReadmeKey, content : String } readmeData = Maybe.map @@ -4417,7 +4413,7 @@ computeReadme reviewOptions project ruleProjectVisitors fixedErrors = , content = readme.content } ) - projectReadme + (ValidProject.readme project) in computeReadmeHelp reviewOptions project readmeData ruleProjectVisitors fixedErrors