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); } }