Skip to content

Commit

Permalink
Merge pull request #3913 from Hannah-Sten/invalid-element
Browse files Browse the repository at this point in the history
Fix invalid element exception
  • Loading branch information
PHPirates authored Feb 22, 2025
2 parents bc3125a + 8ef0bd8 commit f581c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Default to 0.15.0 behaviour if inputs field is not found in Tectonic.toml

### Fixed
* Fix #3906 invalid element exception

## [0.10.1] - 2025-02-08

Expand Down
2 changes: 2 additions & 0 deletions src/nl/hannahsten/texifyidea/reference/InputFileReference.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ class InputFileReference(
// IMPORTANT In this method, do not use any functionality which makes use of the file set,
// because this function is used to find the file set so that would cause an infinite loop

if (!element.isValid) return null

// Get a list of extra paths to search in for the file, absolute or relative (to the directory containing the root file)
val searchPaths = mutableListOf<String>()

Expand Down

0 comments on commit f581c86

Please sign in to comment.