MCPcopy Create free account
hub / github.com/TechSpiritSS/Terminal-Portfolio / popInvalidCommand

Function popInvalidCommand

scripts/history.js:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47export function popInvalidCommand(){
48 let record = JSON.parse(localStorage.getItem("history")) || [];
49 record.pop();
50 localStorage.setItem("history", JSON.stringify(record));
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected