Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
Put platform string in lowercase to improve comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Bonafonte committed Jan 24, 2020
1 parent b84bf6e commit 34d022b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,8 @@ async function run() {
envVars[SCOPE_DSN] = dsn;
}

const platform = core.getInput("platform") || "ios";
let platform = core.getInput("platform") || "ios";
platform = platform.toLowerCase();

const scopeFrameworkPath = getPathForPlatform(platform);
const scopeFrameworkToolsPath = getToolsPathForPlatform(platform);
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ async function run() {
envVars[SCOPE_DSN] = dsn;
}

const platform = core.getInput("platform") || "ios";
let platform = core.getInput("platform") || "ios";
platform = platform.toLowerCase();

const scopeFrameworkPath = getPathForPlatform(platform);
const scopeFrameworkToolsPath = getToolsPathForPlatform(platform);
Expand Down

0 comments on commit 34d022b

Please sign in to comment.