Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Add await in Engine#getTag to catch error #33

Merged
merged 1 commit into from
Jul 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/hothouse/src/Engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default class Engine {
try {
const meta = await this.packageManager.getPackageMeta(packageAnnotation);
const hosting = await this.detectHosting(meta);
return hosting.shaToTag(token, meta.repository.url, meta.gitHead);
return await hosting.shaToTag(token, meta.repository.url, meta.gitHead);
} catch (error) {
debug(
`An error occured during fetch compare url in ${packageName}@${version}:`,
Expand Down