Skip to content

Commit

Permalink
chore: output traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardochaia committed Mar 9, 2022
1 parent 8a15091 commit dee9415
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 16 deletions.
2 changes: 0 additions & 2 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { wait } from '../src/wait'
import * as process from 'process'
import * as cp from 'child_process'
import * as path from 'path'
import { expect, test } from '@jest/globals'

test('test runs', () => {
process.env['INPUT_MILLISECONDS'] = '500'
const np = process.execPath
const ip = path.join(__dirname, '..', 'lib', 'main.js')
const options: cp.ExecFileSyncOptions = {
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function run(): Promise<void> {
try {
await installTool()

const args = ['affected', '-f', 'text']
const args = ['affected', '-f', 'text', 'traversal']

const fromArg = core.getInput('from')
const toArg = core.getInput('to')
Expand All @@ -55,7 +55,7 @@ async function run(): Promise<void> {
})

if (affectedExitCode === 166) {
core.info('No affected projects')
// No affected projects. Stdout will log it
return
} else if (affectedExitCode > 0) {
core.error('dotnet affected failed!')
Expand Down
9 changes: 0 additions & 9 deletions src/wait.ts

This file was deleted.

0 comments on commit dee9415

Please sign in to comment.