mirror of
https://github.com/wader/fq.git
synced 2024-11-23 18:56:52 +03:00
interp: Remove accidental extra space after path in prompt
This commit is contained in:
parent
95ec5e1077
commit
b024316289
@ -111,7 +111,7 @@ def _prompt:
|
||||
catch ($c | type)
|
||||
);
|
||||
def _path_prefix:
|
||||
(._path? // []) | if . == [] then "" else path_to_expr + " " end;
|
||||
(._path? // []) | if . == [] then "" else path_to_expr end;
|
||||
def _preview:
|
||||
if format != null or type != "array" then
|
||||
_type_name_error
|
||||
|
2
pkg/interp/testdata/repl.fqtest
vendored
2
pkg/interp/testdata/repl.fqtest
vendored
@ -24,6 +24,8 @@ null> 1,2,3 | repl
|
||||
2
|
||||
3
|
||||
> number, [3]> ^D
|
||||
null> (1 | raw | .unknown0), 1 | repl
|
||||
> .unknown0, [2]> ^D
|
||||
null> def f: 1; f,f | repl
|
||||
> number, [2]> .
|
||||
1
|
||||
|
Loading…
Reference in New Issue
Block a user