Skip to content

Commit

Permalink
Remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Mar 16, 2023
1 parent 81e18fa commit b34a9d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugin/GitRelease.js
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit b34a9d5

Please sign in to comment.