Unverified Commit e6bd6b77 authored by Hugo van Kemenade's avatar Hugo van Kemenade Committed by GitHub
Browse files

Replace "file(s)" with "file" or "files" (#159)

parent 1fd4c858
Loading
Loading
Loading
Loading
+2 −1
Changes for src/upload-artifact.ts: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -31,8 +31,9 @@ async function run(): Promise<void> {
        }
      }
    } else {
      const s = searchResult.filesToUpload.length === 1 ? '' : 's'
      core.info(
        `With the provided path, there will be ${searchResult.filesToUpload.length} file(s) uploaded`
        `With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`
      )
      core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)