Skip to content

Commit

Permalink
Remove using server from index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ssowonny committed Mar 26, 2020
1 parent f1d8c9b commit ceedf31
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ const outputPath = core.getInput('output-path', { required: true });
const port = core.getInput('port', { required: true });
const pattern = core.getInput('pattern', { required: true });

var server = null;
try {
server = runServer(basePath, headPath, port, () => {
console.log(`Server listening on ${port}`);
});
} catch (error) {
core.setFailed(error.message);
}

(async () => {
try {
const path = await createDiffScreenshots(basePath, headPath, tempPath, outputPath, port, pattern);
Expand Down

0 comments on commit ceedf31

Please sign in to comment.