mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
Fix lint issue
This commit is contained in:
parent
46df0875d5
commit
bd0e37e0b8
3 changed files with 11 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue