diff --git a/index.js b/index.js index 1e5cce9..aba5a2f 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ const core = require("@actions/core"); const github = require("@actions/github"); -const matchToken = ``; +const matchToken = `\n`; async function action() { try { const token = core.getInput("token", { required: true }); diff --git a/index.test.js b/index.test.js index 1b22771..c6d0e1e 100644 --- a/index.test.js +++ b/index.test.js @@ -6,7 +6,7 @@ const mockedEnv = require("mocked-env"); const nock = require("nock"); nock.disableNetConnect(); -const matchToken = ``; +const matchToken = `\n`; describe("Required Labels", () => { let restore;