mirror of
https://github.com/sern-handler/handler
synced 2026-06-28 02:32:15 +00:00
style: pretty please (#255)
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
05037b5315
commit
0a53a48521
@@ -14,7 +14,7 @@ import SernEmitter from '../sernEmitter';
|
||||
import type { EventEmitter } from 'node:events';
|
||||
|
||||
export function makeReadyEvent(
|
||||
[sEmitter, client, errorHandler, ,moduleManager]: [
|
||||
[sEmitter, client, errorHandler, , moduleManager]: [
|
||||
SernEmitter,
|
||||
EventEmitter,
|
||||
ErrorHandling,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { readdirSync, statSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
import { type Observable, from, mergeAll } from 'rxjs';
|
||||
import { type Observable, from, mergeAll } from 'rxjs';
|
||||
import { SernError } from '../structures/errors';
|
||||
import { type Result, Err, Ok } from 'ts-results-es';
|
||||
|
||||
@@ -45,7 +45,7 @@ export function buildData<T>(commandDir: string): Observable<
|
||||
/// #elif MODE === 'cjs'
|
||||
= require(absPath).default;
|
||||
/// #endif
|
||||
|
||||
|
||||
if (module === undefined) {
|
||||
return Err(SernError.UndefinedModule);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* Removes the first character(s) _[depending on prefix length]_ of the message
|
||||
* @param msg
|
||||
|
||||
Reference in New Issue
Block a user