Skip to content

Commit

Permalink
fix: make sure the created file is also loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjarosch committed Aug 2, 2023
1 parent 38abce1 commit 2950ba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func (inv *Inventory) AddExternalClass(data map[string]any, classFilePath string
if err != nil {
return err
}
classFile.Load(inv.fs)

newClass, err := NewClass(classFile, classFilePath)
if err != nil {
Expand Down

0 comments on commit 2950ba6

Please sign in to comment.