Skip to content

Commit

Permalink
Added missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Jul 2, 2024
1 parent ef7dce9 commit 6a96aa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,10 @@ module ISM
puts help
end

def notifyOfGetFileContentError(filePath : String, error = nil)
printErrorNotification(ISM::Default::CommandLine::ErrorGetFileContentText+filePath, error)
end

def printSystemCallErrorNotification
limit = ISM::Default::CommandLine::InternalErrorTitle.size

Expand Down
1 change: 1 addition & 0 deletions ISM/Default/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module ISM
ErrorMakeLinkUnknowTypeText1 = "Failed to make symbolic link from "
ErrorMakeLinkUnknowTypeText2 = " to "
ErrorMakeLinkUnknowTypeText3 = ". Unknow link type: "
ErrorGetFileContentText = "Failed to get file content from "
ErrorRunSystemCommandText1 = "Failed to run "
ErrorRunSystemCommandText2 = " in "
ErrorRunSystemCommandText3 = " with given environment "
Expand Down

0 comments on commit 6a96aa4

Please sign in to comment.