Skip to content

Commit

Permalink
chore: revert discover ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bkioshn committed Apr 10, 2024
1 parent c3ec05e commit c320f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actions/discover/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4411,7 +4411,7 @@ async function run() {
}
const command = ['ci', 'scan', ...flags, paths].filter(Boolean).join(' ');
core.info(`Running command: ${command}`);
const { stdout } = await (0,exec.getExecOutput)("earthly --version");
const { stdout } = await (0,exec.getExecOutput)(command);
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const parsedData = JSON.parse(stdout);
const pathsArray = [];
Expand Down
2 changes: 1 addition & 1 deletion actions/discover/src/discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function run(): Promise<void> {
const command = ['ci', 'scan', ...flags, paths].filter(Boolean).join(' ')

core.info(`Running command: ${command}`)
const { stdout } = await getExecOutput("earthly --version")
const { stdout } = await getExecOutput(command)

// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const parsedData = JSON.parse(stdout)
Expand Down

0 comments on commit c320f5d

Please sign in to comment.