From d1125b45107c591f66709dea6a4ac118600e30b5 Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Mon, 24 May 2021 11:23:05 -0400 Subject: [PATCH] Fix typescript build --- lib/ArtifactPathValidator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ArtifactPathValidator.js b/lib/ArtifactPathValidator.js index a1b2ddd..664396a 100644 --- a/lib/ArtifactPathValidator.js +++ b/lib/ArtifactPathValidator.js @@ -34,14 +34,14 @@ class ArtifactPathValidator { } verifyPathsNotEmpty() { if (this.paths.length == 0) { - const message = `Artifact pattern :${this.pattern} did not match any files`; + const message = `Artifact pattern:${this.pattern} did not match any files`; this.reportError(message); } } verifyNotDirectory(path) { const isDir = fs_1.statSync(path).isDirectory(); if (isDir) { - const message = `Artifact is a directory :${path}. Directories can not be uploaded to a release.`; + const message = `Artifact is a directory:${path}. Directories can not be uploaded to a release.`; this.reportError(message); } return !isDir;