Skip to content

Commit

Permalink
Fix nusmv addon detection on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian Weber authored and Arian Weber committed Feb 8, 2024
1 parent cf5a705 commit 2d31aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pg-tools/nusmv/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def find_nusmv_path
return Settings.numsv.path if File.file?(Settings.numsv.path)

# Fall back to looking in the addon directory
candidates = Dir[File.join(PgTools.addon_dir, "*", "bin", "NuSMV")]
candidates = Dir[File.join(PgTools.addon_dir, "*", "bin", "NuSMV*")]
return candidates.sort.first unless candidates.empty?
end

Expand Down

0 comments on commit 2d31aad

Please sign in to comment.