fix: remove unused variable in audit summary loop
- Change 'for (const [sid, entry]' to 'for (const [, entry]' - sid was never used, only entry
This commit is contained in:
parent
29afd60f11
commit
8fc62cec76
@ -303,7 +303,7 @@ const plugin = {
|
|||||||
.command("summary")
|
.command("summary")
|
||||||
.description("Show session audit summary")
|
.description("Show session audit summary")
|
||||||
.action(() => {
|
.action(() => {
|
||||||
for (const [sid, entry] of sessions) {
|
for (const [, entry] of sessions) {
|
||||||
const v = entry.audit.verify();
|
const v = entry.audit.verify();
|
||||||
console.log(`Session: ${entry.state.lct.tokenId}`);
|
console.log(`Session: ${entry.state.lct.tokenId}`);
|
||||||
console.log(` Actions: ${entry.state.actionIndex}`);
|
console.log(` Actions: ${entry.state.actionIndex}`);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user