aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2022-03-19 11:04:20 -0400
committerMax Isom <[email protected]>2022-03-19 11:04:20 -0400
commitbd0e37e0b819bba1248914c03c6a6e17d458e263 (patch)
treeaf245baa3d7771bade967ef16135c12b15db39d0 /src/commands
parent46df0875d507ec8e7b1b268f1db5e7925d767d41 (diff)
downloadmuse-bd0e37e0b819bba1248914c03c6a6e17d458e263.tar.xz
muse-bd0e37e0b819bba1248914c03c6a6e17d458e263.zip
Fix lint issue
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/move.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/move.ts b/src/commands/move.ts
index 91a3957..731e0da 100644
--- a/src/commands/move.ts
+++ b/src/commands/move.ts
@@ -19,7 +19,7 @@ export default class implements Command {
option.setName('to')
.setDescription('position to move the song to')
.setRequired(true));
-
+
private readonly playerManager: PlayerManager;
constructor(@inject(TYPES.Managers.Player) playerManager: PlayerManager) {
@@ -37,7 +37,7 @@ export default class implements Command {
}
if (to < 1) {
- throw new Error('position must be at least 1')
+ throw new Error('position must be at least 1');
}
player.move(from, to);