Skip to content

Commit

Permalink
Join lines of index file with \n
Browse files Browse the repository at this point in the history
  • Loading branch information
gmrukwa committed Dec 29, 2019
1 parent e461cd4 commit 314a7a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/patch-version/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ try {

var contents = fs.readFileSync(packageInitFile, 'utf8').split(/\r?\n/);
contents[0] = "__version__ = '" + version + "'"
contents = contents.join("");
contents = contents.join("\n");
console.log(contents);
fs.writeFileSync(packageInitFile, contents);

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/patch-version/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try {

var contents = fs.readFileSync(packageInitFile, 'utf8').split(/\r?\n/);
contents[0] = "__version__ = '" + version + "'"
contents = contents.join("");
contents = contents.join("\n");
console.log(contents);
fs.writeFileSync(packageInitFile, contents);

Expand Down

0 comments on commit 314a7a0

Please sign in to comment.