From b34a9d50838c19b238bb11c51e7c63d4b3039577 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Thu, 16 Mar 2023 08:49:55 +0100 Subject: [PATCH] Remove unnecessary `await` --- lib/plugin/GitRelease.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugin/GitRelease.js b/lib/plugin/GitRelease.js index 27e94c43..0b66498d 100644 --- a/lib/plugin/GitRelease.js +++ b/lib/plugin/GitRelease.js @@ -34,9 +34,9 @@ class GitRelease extends GitBase { async processReleaseNotes(script) { if (typeof script === 'function') { const ctx = Object.assign({}, this.config.getContext(), { [this.namespace]: this.getContext() }); - return await script(ctx); + return script(ctx); } else { - return await this.exec(script); + return this.exec(script); } }