Commit 2683d7c
committed
test(cli): guard graph-query marker control
The pre-write graph-query control only checked for an empty JSON result. If captured stdout and stderr ever contain the
query argument, the later marker grep could pass from echoed CLI input instead of a persisted sqlite-wasm row.
Failing when the marker appears before the write keeps the positive read-back assertion tied to stored graph data.
Validation:
- nixfmt modules/_checks/cli-graph-query.nix
- nix build .#checks.x86_64-linux.logseq-cli-graph-query
- git diff --check
- nix build .#checks.x86_64-linux.pre-commit-check1 parent f250a2a commit 2683d7c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
0 commit comments