diff options
author | bartOssh <lenart.consulting@gmail.com> | 2020-09-16 15:38:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 15:38:38 +0200 |
commit | 81ca7096c5e8830cf8707c77fd244672e7e67c79 (patch) | |
tree | ff73340eb97b2601b41903a641b4cb99911f8aa5 /cli/tests | |
parent | d4a24c870e87b55dab425bc2c320aa88a6224030 (diff) |
refactor(unstable): deno info --json output (#7417)
Provide flat JSON structured output.
Fix BrokenPipe error when piping out to "head".
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/055_info_file_json.out | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/cli/tests/055_info_file_json.out b/cli/tests/055_info_file_json.out index 5c5da8836..c3f5f1c36 100644 --- a/cli/tests/055_info_file_json.out +++ b/cli/tests/055_info_file_json.out @@ -4,31 +4,29 @@ "compiled": null, "map": null, "depCount": 3, - "deps": { - "name": "file://[WILDCARD]/005_more_imports.ts", - "size": 211, - "totalSize": 757, - "deps": [ - { - "name": "file://[WILDCARD]/subdir/mod1.ts", - "size": 320, - "totalSize": 546, - "deps": [ - { - "name": "file://[WILDCARD]/subdir/subdir2/mod2.ts", - "size": 163, - "totalSize": 226, - "deps": [ - { - "name": "file://[WILDCARD]/subdir/print_hello.ts", - "size": 63, - "totalSize": 63, - "deps": [] - } - ] - } - ] - } - ] + "totalSize": 757, + "files": { + "file://[WILDCARD]005_more_imports.ts": { + "size": 211, + "deps": [ + "file://[WILDCARD]/subdir/mod1.ts" + ] + }, + "file://[WILDCARD]/subdir/mod1.ts": { + "size": 320, + "deps": [ + "file://[WILDCARD]/subdir/subdir2/mod2.ts" + ] + }, + "file://[WILDCARD]/subdir/print_hello.ts": { + "size": 63, + "deps": [] + }, + "file://[WILDCARD]/subdir/subdir2/mod2.ts": { + "size": 163, + "deps": [ + "file://[WILDCARD]/subdir/print_hello.ts" + ] + } } }
\ No newline at end of file |