Skip to content

Commit 325bfa6

Browse files
committed
more debugging options
1 parent 0c8d550 commit 325bfa6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Diff for: dist/index.js

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "1password-action",
3-
"version": "3.0.3",
3+
"version": "3.0.4",
44
"private": true,
55
"description": "Import items from 1Password securely",
66
"main": "lib/main.js",

Diff for: src/exec.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as exec from '@actions/exec'
2+
import * as core from '@actions/core'
23

34
export async function execWithOutput(
45
command: string,
@@ -9,7 +10,7 @@ export async function execWithOutput(
910
let err = ''
1011

1112
const opt = options ?? {}
12-
opt.silent = false
13+
opt.silent = true
1314
opt.listeners = {
1415
stdout: (data: Buffer) => {
1516
out += data.toString()
@@ -19,6 +20,7 @@ export async function execWithOutput(
1920
}
2021
}
2122
try {
23+
core.info(`Executing command: ${command} ${args ? args.join(' ') : ''}`)
2224
await exec.exec(command, args, opt)
2325
} catch {
2426
if (err) {

0 commit comments

Comments
 (0)