Less plug:run noise
This commit is contained in:
parent
4dbbc31cb9
commit
24100afedb
@ -36,7 +36,6 @@ export function pageIndexSyscalls(kv: KVStore): SysCallMapping {
|
||||
}
|
||||
},
|
||||
"index.delete": (_ctx, page: string, key: string) => {
|
||||
console.log("delete", page, key);
|
||||
return kv.batchDelete([
|
||||
`index${sep}${page}${sep}${key}`,
|
||||
`indexByKey${sep}${key}${sep}${page}`,
|
||||
@ -68,7 +67,6 @@ export function pageIndexSyscalls(kv: KVStore): SysCallMapping {
|
||||
`index${sep}${page}${sep}${prefix}`,
|
||||
)
|
||||
) {
|
||||
console.log("GOt back this key to delete", result.key);
|
||||
const [_ns, page, key] = result.key.split(sep);
|
||||
await apiObj["index.delete"](_ctx, page, key);
|
||||
}
|
||||
|
@ -32,7 +32,9 @@ export async function plugRunCommand(
|
||||
port,
|
||||
hostname,
|
||||
);
|
||||
console.log("Output", result);
|
||||
if (result) {
|
||||
console.log("Output", result);
|
||||
}
|
||||
Deno.exit(0);
|
||||
} catch (e: any) {
|
||||
console.error(e.message);
|
||||
|
Loading…
Reference in New Issue
Block a user