Skip to content

Commit f0f4b92

Browse files
committed
Revert "chore: log inputs"
This reverts commit 71ac4ed.
1 parent 71ac4ed commit f0f4b92

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

src/index.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@ import { exec } from '@actions/exec';
55
import SizePlugin from 'size-plugin-core';
66
import { fileExists, diffTable, toBool, stripHash } from './utils.js';
77

8-
const inputNames = [
9-
'cwd,'
10-
'build-script'
11-
'clean-script'
12-
'compression'
13-
'pattern'
14-
'exclude'
15-
'stripHash'
16-
'collapse-unchanged'
17-
'omit-unchanged'
18-
'show-total'
19-
'minimum-change-threshold'
20-
'use-check',
21-
'repo-token'
22-
]
23-
248
/**
259
* @typedef {ReturnType<typeof import("@actions/github").getOctokit>} Octokit
2610
* @typedef {typeof import("@actions/github").context} ActionContext
@@ -54,11 +38,6 @@ async function run(octokit, context, token) {
5438
);
5539
}
5640

57-
console.log(`inputs`, JSON.stringify(inputNames.reduce((inputValues, name) => {
58-
inputValues[name] = getInput(name)
59-
return inputValues
60-
}, {}), null, 2));
61-
6241
if (getInput('cwd')) process.chdir(getInput('cwd'));
6342

6443
const plugin = new SizePlugin({

0 commit comments

Comments
 (0)