Skip to content

Commit

Permalink
Patched nil return
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Jul 2, 2024
1 parent 867d58b commit a763eb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ module ISM

def selectedKernel : ISM::SoftwareInformation
information = ISM::SoftwareInformation.new
return information.loadInformationFile("#{Ism.settings.rootPath}#{ISM::Default::Path::SettingsSoftwaresDirectory}#{ISM::Default::Filename::SelectedKernel}")
information.loadInformationFile("#{Ism.settings.rootPath}#{ISM::Default::Path::SettingsSoftwaresDirectory}#{ISM::Default::Filename::SelectedKernel}")
return information
end

def inputMatchWithFilter(input : String, filter : Regex | Array(Regex))
Expand Down

0 comments on commit a763eb7

Please sign in to comment.