Remove unused variable
This commit is contained in:
8
action/dist/index.js
vendored
8
action/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -4,11 +4,10 @@
|
|||||||
import * as _octokit from "@octokit/graphql"
|
import * as _octokit from "@octokit/graphql"
|
||||||
import * as _core from "@actions/core"
|
import * as _core from "@actions/core"
|
||||||
import * as _github from "@actions/github"
|
import * as _github from "@actions/github"
|
||||||
import * as _axios from "axios"
|
|
||||||
|
|
||||||
;((async function () {
|
;((async function () {
|
||||||
//Hack because ES modules are not correctly transpiled with ncc
|
//Hack because ES modules are not correctly transpiled with ncc
|
||||||
const [core, github, octokit, axios, metrics] = [_core, _github, _octokit, _axios, _metrics].map(m => (m && m.default) ? m.default : m)
|
const [core, github, octokit, metrics] = [_core, _github, _octokit, _metrics].map(m => (m && m.default) ? m.default : m)
|
||||||
//Yaml boolean converter
|
//Yaml boolean converter
|
||||||
const bool = (value, defaulted = false) => typeof value === "string" ? /^(?:[Tt]rue|[Oo]n|[Yy]es)$/.test(value) : defaulted
|
const bool = (value, defaulted = false) => typeof value === "string" ? /^(?:[Tt]rue|[Oo]n|[Yy]es)$/.test(value) : defaulted
|
||||||
//Runner
|
//Runner
|
||||||
|
|||||||
Reference in New Issue
Block a user