Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattallty committed Apr 20, 2020
1 parent 1a9d89a commit 2a1d004
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 @@ -1331,11 +1331,11 @@ const map = __webpack_require__(410)
const filter = __webpack_require__(831)
const strip = __webpack_require__(54)

const CWD = process.cwd() + path.sep
const RESULTS_FILE = path.join(CWD, "jest.results.json")

// most @actions toolkit packages have async methods
async function run() {
const CWD = process.cwd() + path.sep
const RESULTS_FILE = path.join(CWD, "jest.results.json")

try {
// const token = core.getInput("github-token", { required: true })
const token = process.env.GITHUB_TOKEN
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const map = require("lodash/map")
const filter = require("lodash/filter")
const strip = require("strip-ansi")

const CWD = process.cwd() + path.sep
const RESULTS_FILE = path.join(CWD, "jest.results.json")

// most @actions toolkit packages have async methods
async function run() {
const CWD = process.cwd() + path.sep
const RESULTS_FILE = path.join(CWD, "jest.results.json")

try {
// const token = core.getInput("github-token", { required: true })
const token = process.env.GITHUB_TOKEN
Expand Down

0 comments on commit 2a1d004

Please sign in to comment.