mirror of
https://github.com/tj-actions/changed-files
synced 2024-09-19 23:41:13 +02:00
chore: remove debug lines (#2166)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
0b99ecfd4e
commit
cc733854b1
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
|
@ -1,5 +1,3 @@
|
|||
import * as core from '@actions/core'
|
||||
|
||||
export type Env = {
|
||||
GITHUB_REF_NAME: string
|
||||
GITHUB_REF: string
|
||||
|
@ -7,8 +5,6 @@ export type Env = {
|
|||
}
|
||||
|
||||
export const getEnv = async (): Promise<Env> => {
|
||||
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
|
||||
|
||||
return {
|
||||
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
|
||||
GITHUB_REF: process.env.GITHUB_REF || '',
|
||||
|
|
|
@ -234,8 +234,6 @@ export async function run(): Promise<void> {
|
|||
const inputs = getInputs()
|
||||
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
|
||||
|
||||
core.debug(`Github Context: ${JSON.stringify(github.context, null, 2)}`)
|
||||
|
||||
const workingDirectory = path.resolve(
|
||||
env.GITHUB_WORKSPACE || process.cwd(),
|
||||
inputs.useRestApi ? '.' : inputs.path
|
||||
|
|
Loading…
Reference in a new issue