Fix typo in Inputs

This commit is contained in:
Nick Cipollo
2019-09-02 21:36:30 -04:00
parent a9e06bcb67
commit d812721a39
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class CoreInputs {
get artifacts() {
let artifacts = core.getInput('artifacts');
if (!artifacts) {
artifacts = core.getInput('artifacts');
artifacts = core.getInput('artifact');
}
if (artifacts) {
let contentType = core.getInput('artifactContentType');

View File

@@ -26,7 +26,7 @@ export class CoreInputs implements Inputs {
get artifacts(): Artifact[] {
let artifacts = core.getInput('artifacts')
if (!artifacts) {
artifacts = core.getInput('artifacts')
artifacts = core.getInput('artifact')
}
if (artifacts) {
let contentType = core.getInput('artifactContentType')