Skip to content

Commit

Permalink
refactor(shirelang): simplify filename parameter in BatchProcessor fi…
Browse files Browse the repository at this point in the history
…ndShireFile call

Remove unnecessary toString() call on filename parameter when finding Shire file, enhancing code readability and efficiency.
  • Loading branch information
phodal committed Oct 23, 2024
1 parent 5361e7a commit 3bd78b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object BatchProcessor : PatternProcessor {
variableTable: MutableMap<String, Any?>,
): Any {
val file = runReadAction {
ShireActionStartupActivity.findShireFile(myProject, filename.toString())
ShireActionStartupActivity.findShireFile(myProject, filename)
}

if (file == null) {
Expand Down

0 comments on commit 3bd78b2

Please sign in to comment.