From a2e848a7fafbae4df51de6f05fd53a6abf78a593 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 13 Mar 2018 16:55:50 +0100 Subject: Fix lint issues --- packages/monorepo-scripts/src/postpublish_utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/monorepo-scripts/src') diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index 2f27e15cb..e04c31649 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -1,5 +1,5 @@ -import * as promisify from 'es6-promisify'; import { execAsync } from 'async-child-process'; +import * as promisify from 'es6-promisify'; import * as _ from 'lodash'; import * as publishRelease from 'publish-release'; import semverSort = require('semver-sort'); @@ -16,7 +16,7 @@ export interface TagAndVersion { } export const postpublishUtils = { - getLatestTagAndVersionAsync(subPackageName: string): Promise { + async getLatestTagAndVersionAsync(subPackageName: string): Promise { const subPackagePrefix = `${subPackageName}@`; const gitTagsCommand = `git tag -l "${subPackagePrefix}*"`; return execAsync(gitTagsCommand).then((result: any) => { @@ -36,7 +36,7 @@ export const postpublishUtils = { }; }); }, - publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) { + async publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) { utils.log('POSTPUBLISH: Releasing ', releaseName, '...'); return publishReleaseAsync({ token: githubPersonalAccessToken, -- cgit v1.2.3