Refactor play command

This commit is contained in:
Max Isom 2020-03-17 21:36:48 -05:00
commit 7844e80991
8 changed files with 239 additions and 210 deletions
src/utils

View file

@ -5,7 +5,7 @@ export default (error?: string | Error): string => {
if (typeof error === 'string') {
str = `🚫 ${error}`;
} else if (error instanceof Error) {
str = `🚫 error: ${error.name}`;
str = `🚫 ope: ${error.name}`;
}
}