From ceedf316c5709d46f21dc39597e3552a84f56e6b Mon Sep 17 00:00:00 2001 From: Sungwon Lee Date: Thu, 26 Mar 2020 23:02:30 +0900 Subject: [PATCH] Remove using server from index.js --- index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/index.js b/index.js index c998254..3edc9b7 100644 --- a/index.js +++ b/index.js @@ -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);