Add drop, sort commands, start tail command; implement support for destructuredOrLines match type; misc fixes
This commit is contained in:
@@ -18,7 +18,7 @@ export class Unique extends Command<{}> {
|
||||
|
||||
execute(vm: StrVM): Awaitable<StrVM> {
|
||||
return vm.replaceContextMatchingTerm({
|
||||
destructured: sub => {
|
||||
destructuredOrLines: sub => {
|
||||
const seen: Record<string, boolean> = {}
|
||||
return sub.filter(part => {
|
||||
const hash = hashStrRVal(wrapString(part.value))
|
||||
|
||||
Reference in New Issue
Block a user