fix(test stdlib): scanning tests shouldn't be affected by user config (#15113)

# Description

# User-Facing Changes

# Tests + Formatting

# After Submitting

Co-authored-by: Bahex <17417311+Bahex@users.noreply.github.com>
This commit is contained in:
Bahex 2025-02-13 22:23:14 +03:00 committed by GitHub
parent a8a0c78a32
commit e1c5ae3cd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ const valid_annotations = {
def get-annotated [
file: path
]: nothing -> table<function_name: string, annotation: string> {
^$nu.current-exe -c $'
^$nu.current-exe --no-config-file -c $'
source `($file)`
scope commands
| select name attributes