mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 03:27:45 +00:00
nu: hop off filter
This commit is contained in:
parent
de477aa89c
commit
e5b325a76f
2 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ module dump {
|
|||
let dump_prefix = dump-path | path join ...($namespace | split row ".")
|
||||
|
||||
let dump_parent_contents = glob ($dump_prefix | path parse | get parent | path join "**" "*.md")
|
||||
let dump_matches = $dump_parent_contents | filter { str starts-with $dump_prefix }
|
||||
let dump_matches = $dump_parent_contents | where { str starts-with $dump_prefix }
|
||||
|
||||
ls ...$dump_matches | each {
|
||||
merge { path: $in.name }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue