Remove validation failures and warning annotations (#108)

* Update warnings behavior

* Add void return type
This commit is contained in:
Josh Gross
2019-11-21 14:37:54 -05:00
committed by GitHub
parent 639f9d8b81
commit 95c1798369
8 changed files with 82 additions and 40 deletions

View File

@ -77,6 +77,11 @@ export function getCacheState(): ArtifactCacheEntry | undefined {
return undefined;
}
export function logWarning(message: string): void {
const warningPrefix = "[warning]";
core.info(`${warningPrefix}${message}`);
}
export function resolvePath(filePath: string): string {
if (filePath[0] === "~") {
const home = os.homedir();