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

Commit

Permalink
Apply suggestions from PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
drodriguezhdez committed Apr 21, 2020
1 parent ed21fef commit 9d5ce02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ function run() {
try {
let dsn = core.getInput("dsn", { required: true });
yield core.exportVariable("SCOPE_DSN", dsn);
let pathVar = core.getInput("path", { required: true }).replace(/\n/g, " ");
const pathVar = core.getInput("path", { required: true }).replace(/[\r\n]/gm, " ");
const platform = IS_WINDOWS ? "windows" : IS_MACOS ? "darwin" : "linux";
let scopeImportToolPath;
scopeImportToolPath = yield tc.downloadTool("https://home.undefinedlabs.com/download/scope-import/" +
Expand Down
3 changes: 1 addition & 2 deletions src/scope-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ async function run() {
let dsn = core.getInput("dsn", { required: true });
await core.exportVariable("SCOPE_DSN", dsn);

let pathVar = core.getInput("path", { required: true }).replace(/\n/g, " ");

const pathVar = core.getInput("path", { required: true }).replace(/[\r\n]/gm, " ");
const platform = IS_WINDOWS ? "windows" : IS_MACOS ? "darwin" : "linux";

let scopeImportToolPath;
Expand Down

0 comments on commit 9d5ce02

Please sign in to comment.