code from master

Signed-off-by: Gasan Guseinov <gasan.guseinov@ing.com>
This commit is contained in:
Gasan Guseinov
2024-08-30 16:33:19 +02:00
committed by Gasan.Guseinov
parent 2a951d6fe5
commit 2f56fd30e8
2 changed files with 11 additions and 26 deletions
@@ -348,6 +348,7 @@ export class GoogleGCSPublish implements PublisherBase {
* can be used to verify if there are any pre-generated docs available to serve.
*/
async hasDocsBeenGenerated(entity: Entity): Promise<boolean> {
Promise.resolve();
return new Promise(resolve => {
const entityTriplet = `${entity.metadata.namespace}/${entity.kind}/${entity.metadata.name}`;
const entityDir = this.legacyPathCasing