Apply suggestions from code review

Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-03-12 08:54:26 +01:00
parent 784d39894a
commit 11242ac41e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,4 +12,4 @@ Improvements
New feature
1. You can now use a mix of basic and recommended setup i.e. techdocs.builder is `'local'` but using an external cloud storage instead of local storage. Previously, in this setup, the docs would never get updated.
1. You can now use a mix of basic and recommended setup i.e. `techdocs.builder` is `'local'` but using an external cloud storage instead of local storage. Previously, in this setup, the docs would never get updated.
@@ -86,7 +86,7 @@ export class DocsBuilder {
);
// If available, use the etag stored in techdocs_metadata.json to
// check if docs are outdated and needs to be regenerated.
// check if docs are outdated and need to be regenerated.
let storedEtag: string | undefined;
if (await this.publisher.hasDocsBeenGenerated(this.entity)) {
storedEtag = (
@@ -180,7 +180,7 @@ export async function createRouter({
);
res.status(408).json({
error:
'Sorry! It is taking longer for the generated docs to show up in storage. Check back later.',
'Sorry! It took too long for the generated docs to show up in storage. Check back later.',
});
return;
}