vscode: wrap non-single-line if body with curlies as per matklad

This commit is contained in:
Veetaha 2020-02-25 01:58:43 +02:00
parent af57251c31
commit 6ec4a7db42

View file

@ -51,9 +51,11 @@ export async function fetchArtifactReleaseInfo(
const artifact = release.assets.find(artifact => artifact.name === artifactFileName); const artifact = release.assets.find(artifact => artifact.name === artifactFileName);
if (!artifact) throw new Error( if (!artifact) {
throw new Error(
`Artifact ${artifactFileName} was not found in ${release.name} release!` `Artifact ${artifactFileName} was not found in ${release.name} release!`
); );
}
return { return {
releaseName: release.name, releaseName: release.name,