mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Customize replys and add DroneCI config
This commit is contained in:
parent
c89f288b7d
commit
5f96a210ad
10 changed files with 30 additions and 11 deletions
|
@ -3,9 +3,9 @@ export default (error?: string | Error): string => {
|
|||
|
||||
if (error) {
|
||||
if (typeof error === 'string') {
|
||||
str = `🚫 ope: ${error}`;
|
||||
str = `🚫 Error: ${error}`;
|
||||
} else if (error instanceof Error) {
|
||||
str = `🚫 ope: ${error.message}`;
|
||||
str = `🚫 Error: ${error.message}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue