fix(striker-ui-api): remove not-implemented <array>.at()

main
Tsu-ba-me 2 years ago
parent 3efc5d8bfa
commit ea78090ac0
  1. 2
      striker-ui-api/src/lib/accessModule.ts

@ -63,7 +63,7 @@ class Access extends EventEmitter {
ps.stderr?.setEncoding('utf-8').on('data', (chunk: string) => { ps.stderr?.setEncoding('utf-8').on('data', (chunk: string) => {
stderr += chunk; stderr += chunk;
const scriptId = this.queue.at(0); const scriptId: string | undefined = this.queue[0];
if (scriptId) { if (scriptId) {
sherr(`${Access.event(scriptId, 'stderr')}: ${stderr}`); sherr(`${Access.event(scriptId, 'stderr')}: ${stderr}`);

Loading…
Cancel
Save