...
This commit is contained in:
parent
bfd6db71c2
commit
8e9110e9f6
8
index.js
8
index.js
|
@ -29638,6 +29638,8 @@ const getMin = (number) => {
|
||||||
);
|
);
|
||||||
const references = myDisplayFields(display)
|
const references = myDisplayFields(display)
|
||||||
.displayReferences();
|
.displayReferences();
|
||||||
|
if (references.length) {
|
||||||
|
console.log({ displayRef: fileName });
|
||||||
await sequence(
|
await sequence(
|
||||||
references
|
references
|
||||||
.map(
|
.map(
|
||||||
|
@ -29647,8 +29649,7 @@ const getMin = (number) => {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
if (!references.length) {
|
|
||||||
await external_fs_.promises.appendFile(
|
await external_fs_.promises.appendFile(
|
||||||
fileName,
|
fileName,
|
||||||
'*[none]*\n',
|
'*[none]*\n',
|
||||||
|
@ -30008,6 +30009,7 @@ const findDisplay = (line, link) => {
|
||||||
const references = myDisplayFields(display)
|
const references = myDisplayFields(display)
|
||||||
.globalReferences();
|
.globalReferences();
|
||||||
if (references.length) {
|
if (references.length) {
|
||||||
|
console.log({global: fileName});
|
||||||
await sequence(
|
await sequence(
|
||||||
references
|
references
|
||||||
.map(
|
.map(
|
||||||
|
@ -30394,7 +30396,7 @@ const findDisplay = (line, link) => {
|
||||||
);
|
);
|
||||||
await external_fs_.promises.appendFile(
|
await external_fs_.promises.appendFile(
|
||||||
fileName,
|
fileName,
|
||||||
`\n[xml](${'../'.repeat(root.split('/').length + 1)}${global.file.replaceAll(' ', '%20')})\n`,
|
`\n[xml](${'../'.repeat(root.split('/').length + 2)}${global.file.replaceAll(' ', '%20')})\n`,
|
||||||
);
|
);
|
||||||
|
|
||||||
await objects({
|
await objects({
|
||||||
|
|
Loading…
Reference in New Issue