Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-24 17:59:07 +00:00
parent b106b06fe7
commit 3a0c30e7e0

View file

@ -81,8 +81,8 @@ function locations(substring,string){
function wrapMessage(msg) {
const indexes = locations('`', msg)
if (indexes.length > 1) {
return wrapMessage(msg.substring(0, indexes[0]) + chalk.bold.black.bgGray(' ' + msg.substring(indexes[0] + 1, indexes[1] + 1 - indexes[0]) + ' ') + msg.substring(indexes[1] + 1 - indexes[0]) + ' ')
if (indexes.length > 3) {
return msg.substring(0, indexes[0]) + chalk.bold.black.bgGray(' ' + msg.substring(indexes[0] + 1, indexes[1] + 1 - indexes[0]) + ' ') + msg.substring(indexes[1] + 1 - indexes[0]) + ' '
} else {
return msg
}