Remove validation failures and warning annotations (#108)

* Update warnings behavior

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

No files matched your search

+5
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();