Skip to content

Commit

Permalink
Add debug function to function errorFix so as to see the Range
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxcarlson committed Jun 7, 2024
1 parent a100143 commit 9578d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Install/Function.elm
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ errorWithFix range config context =
( [ Rule.errorWithFix
{ message = "Replace function \"" ++ config.functionName ++ "\"", details = [ "" ] }
range
[ Fix.replaceRangeBy range config.functionImplementation ]
[ Fix.replaceRangeBy (range |> Debug.log "RANGE") (config.functionImplementation |> Debug.log "IMPLEMENTATION") ]
]
, context
)

0 comments on commit 9578d89

Please sign in to comment.