The `reference` variable is used in printing the warnings and so needs
to be set prior to parsing the page.
`GitWikiWeb: git cat-file returned nonzero exit code: ${catstatus.code}.`,
);
} else {
`GitWikiWeb: git cat-file returned nonzero exit code: ${catstatus.code}.`,
);
} else {
+ const reference = `${namespace}:${pageName}`;
const page = new GitWikiWebPage(
namespace,
pageName,
const page = new GitWikiWebPage(
namespace,
pageName,
- const reference = `${namespace}:${pageName}`;
pages.set(reference, page);
requiredButMissingPages.delete(reference);
}
pages.set(reference, page);
requiredButMissingPages.delete(reference);
}