mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 17:22:42 +02:00
Minor message improvements (#865)
This commit is contained in:
parent
abdae1a644
commit
eac9ec48b1
3 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@ export default (error?: string | Error): string => {
|
|||
|
||||
if (error) {
|
||||
if (typeof error === 'string') {
|
||||
str = `🚫ope: ${error}`;
|
||||
str = `🚫 ope: ${error}`;
|
||||
} else if (error instanceof Error) {
|
||||
str = `🚫ope: ${error.message}`;
|
||||
str = `🚫 ope: ${error.message}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue