Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
debugger22 committed Aug 11, 2020
1 parent 9c36474 commit b833bb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ const { promises: fs } = __webpack_require__(747);

const main = async () => {
const filePaths = core.getInput('files').split(" ");
console.log(filePaths);

var output = "";

filePaths.forEach(async(filePath) => {

if(filePath.includes("migrations")){
output += `==========================${filePath}==========================\n\n`;
output += `========================== ${filePath} ==========================\n\n`;
const content = await fs.readFile(filePath, 'utf8');
output += content + "\n\n";
console.log(output);

}

Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ const { promises: fs } = require('fs');

const main = async () => {
const filePaths = core.getInput('files').split(" ");
console.log(filePaths);

var output = "";

filePaths.forEach(async(filePath) => {

if(filePath.includes("migrations")){
output += `==========================${filePath}==========================\n\n`;
output += `========================== ${filePath} ==========================\n\n`;
const content = await fs.readFile(filePath, 'utf8');
output += content + "\n\n";
console.log(output);

}

Expand Down

0 comments on commit b833bb0

Please sign in to comment.