Skip to content

Commit

Permalink
Bump jfmengels/elm-review-simplify from 2.1.5 to 2.1.6 in /review
Browse files Browse the repository at this point in the history
  • Loading branch information
janslifka committed Jan 20, 2025
1 parent c16479e commit 7fe486b
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ type alias ViewExtraItemsConfig a msg =

viewExtraItems : ViewExtraItemsConfig a msg -> List a -> Html msg
viewExtraItems cfg list =
if List.length list == 0 then
if List.isEmpty list then
emptyNode

else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ viewMetrics : AppState -> List Metric -> List MetricReport -> ChartJS.Data -> Ht
viewMetrics appState metrics metricReports chartData =
let
content =
if List.length metricReports == 0 then
if List.isEmpty metricReports then
[]

else if List.length metricReports > 2 then
Expand Down
1 change: 0 additions & 1 deletion engine-wizard/elm/Wizard/Common/ContentType.elm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ contentTypes =
, ( "json", "application/json" )
, ( "jsonld", "application/ld+json" )
, ( "midi", "audio/midi, audio/x-midi" )
, ( "midi", "audio/midi, audio/x-midi" )
, ( "mjs", "text/javascript" )
, ( "mp3", "audio/mpeg" )
, ( "mp4", "video/mp4" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ iconSet =
, ( "questionnaire.copyLinkCopied", "fas fa-fw fa-check" )
, ( "questionnaire.desirable", "far fa-check-square" )
, ( "questionnaire.expand", "fas fa-expand" )
, ( "questionnaire.expand", "fas fa-expand" )
, ( "questionnaire.experts", "far fa-address-book" )
, ( "questionnaire.feedback", "fas fa-exclamation" )
, ( "questionnaire.followUpsIndication", "fas fa-list-ul" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ locale =
, ( "__routing.projects.create.selectedKnowledgeModel", "selectedKnowledgeModel" )
, ( "__routing.projects.createMigration", "create-migration" )
, ( "__routing.projects.migration", "migration" )
, ( "__routing.projects.migration", "migration" )
, ( "__routing.public.forgottenPassword", "forgotten-password" )
, ( "__routing.public.signup", "signup" )
, ( "__routing.registry", "registry" )
Expand Down
2 changes: 1 addition & 1 deletion engine-wizard/elm/Wizard/Projects/Migration/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ contentView appState model migration =
emptyNode

content =
if List.length model.changes.questions == 0 then
if List.isEmpty model.changes.questions then
div [ class "content" ]
[ Page.illustratedMessage
{ image = Undraw.happyFeeling
Expand Down
2 changes: 1 addition & 1 deletion engine-wizard/elm/Wizard/Settings/Authentication/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ serviceParametersHeader : AppState -> String -> Form FormError AuthenticationCon
serviceParametersHeader appState field form =
let
isEmpty =
List.length (Form.getListIndexes field form) == 0
List.isEmpty (Form.getListIndexes field form)
in
if isEmpty then
emptyNode
Expand Down
2 changes: 1 addition & 1 deletion engine-wizard/elm/Wizard/Settings/LookAndFeel/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ customMenuLinksHeader : AppState -> Form FormError EditableLookAndFeelConfig ->
customMenuLinksHeader appState form =
let
isEmpty =
List.length (Form.getListIndexes "customMenuLinks" form) == 0
List.isEmpty (Form.getListIndexes "customMenuLinks" form)
in
if isEmpty then
emptyNode
Expand Down
2 changes: 1 addition & 1 deletion review/elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jfmengels/elm-review-common": "1.3.3",
"jfmengels/elm-review-debug": "1.0.8",
"jfmengels/elm-review-documentation": "2.0.4",
"jfmengels/elm-review-simplify": "2.1.5",
"jfmengels/elm-review-simplify": "2.1.6",
"jfmengels/elm-review-unused": "1.2.3",
"stil4m/elm-syntax": "7.3.8"
},
Expand Down

0 comments on commit 7fe486b

Please sign in to comment.