mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-01 04:54:20 +02:00
Update plugins
This commit is contained in:
@@ -1740,6 +1740,9 @@ var plugin2 = {
|
||||
if (Array.isArray(filtered)) {
|
||||
filtered = filtered[0];
|
||||
}
|
||||
if (typeof filtered === "string") {
|
||||
return filtered;
|
||||
}
|
||||
if (args.values.formatted) {
|
||||
return JSON.stringify(filtered, null, 2);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user