@hawkeyexl/manni 2.3.9 → 2.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,7 +61,7 @@ import {
61
61
  supportedExtensions,
62
62
  terminalConfirm,
63
63
  toJsonText
64
- } from "./chunk-LC4H35XX.js";
64
+ } from "./chunk-TNT3ZROC.js";
65
65
 
66
66
  // src/meta/cli.ts
67
67
  import { existsSync } from "node:fs";
@@ -1517,4 +1517,4 @@ export {
1517
1517
  reportConfig,
1518
1518
  buildProgram
1519
1519
  };
1520
- //# sourceMappingURL=chunk-HOLRWVCO.js.map
1520
+ //# sourceMappingURL=chunk-WXBLVCOZ.js.map
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  readStdin,
8
8
  reportConfig,
9
9
  splitList
10
- } from "./chunk-HOLRWVCO.js";
10
+ } from "./chunk-WXBLVCOZ.js";
11
11
  import {
12
12
  CiteError,
13
13
  KeyError,
@@ -33,10 +33,11 @@ import {
33
33
  runKeySet,
34
34
  runUpdate,
35
35
  shortCommit,
36
+ shortLine,
36
37
  shortPin,
37
38
  shortSrc,
38
39
  spellSource
39
- } from "./chunk-YSI2VNKE.js";
40
+ } from "./chunk-LORLZO3J.js";
40
41
  import {
41
42
  COMMON_FORMAT_LIST,
42
43
  OMITTED_WHEN_CLEAN,
@@ -74,7 +75,7 @@ import {
74
75
  splitPageArgument,
75
76
  terminalConfirm,
76
77
  valeConfigPath
77
- } from "./chunk-LC4H35XX.js";
78
+ } from "./chunk-TNT3ZROC.js";
78
79
 
79
80
  // src/cli.ts
80
81
  import { Command as Command5 } from "commander";
@@ -1081,7 +1082,9 @@ function addMessage(result) {
1081
1082
  const name = citation.id ?? (claim === void 0 ? "a bare pin" : "an entry");
1082
1083
  const src = shortSrc(spellSource(citation.source));
1083
1084
  const commit = citation.source["commit-sha"];
1084
- const pin = `${src}, ${shortPin(citation.source.integrity)}, ${commit === void 0 ? "no commit" : shortCommit(commit)}`;
1085
+ const quoted = result.sourceLine === void 0 ? "" : shortLine(result.sourceLine);
1086
+ const line = quoted === "" ? "" : ` "${quoted}"`;
1087
+ const pin = `${src}${line}, ${shortPin(citation.source.integrity)}, ${commit === void 0 ? "no commit" : shortCommit(commit)}`;
1085
1088
  const where2 = result.manifest === void 0 ? "frontmatter" : `${result.manifest.file}:${String(result.manifest.line)}`;
1086
1089
  const head = `${result.file}: added ${name} to ${where2}`;
1087
1090
  if (result.markerLine !== void 0) {