Skip to content

Commit

Permalink
fix: format update for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Oct 19, 2021
1 parent c962a7b commit 85838c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ workflows:
- os: windows
node_version: maintenance
- release-management/release-package:
github-release: true
requires:
- release-management/test-package
filters:
branches:
only: main
context: CLI_CTC
test-ts-update:
triggers:
- schedule:
Expand Down
2 changes: 1 addition & 1 deletion src/execCmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const hrtimeToMillisDuration = (hrTime: [number, number]) =>
const addJsonOutput = <T extends ExecCmdResult, U>(cmd: string, result: T): T => {
if (cmd.includes('--json')) {
try {
result.jsonOutput = parseJson(stripAnsi(result.shellOutput.stdout)) as unknown as U;
result.jsonOutput = (parseJson(stripAnsi(result.shellOutput.stdout)) as unknown) as U;
} catch (parseErr: unknown) {
result.jsonError = parseErr as Error;
}
Expand Down

0 comments on commit 85838c8

Please sign in to comment.