Skip to content

Commit

Permalink
Merge pull request #20 from gavanlamb/feature/GH-19-fix-command
Browse files Browse the repository at this point in the history
fix(GH-19): Fix the command
  • Loading branch information
gavanlamb authored Jun 16, 2024
2 parents cf1859a + aca88c8 commit 3b7f4f9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions __tests__/services/dotnetService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ describe("listOutdatedPackages", () => {
jest.doMock("@actions/exec", () => ({ getExecOutput: getExecOutputMock }));

const expectedArgs = [
'list',
target,
'package',
'--outdated',
Expand Down Expand Up @@ -245,6 +246,7 @@ describe("listOutdatedPackages", () => {
jest.doMock("@actions/exec", () => ({ getExecOutput: getExecOutputMock }));

const expectedArgs = [
'list',
'package',
'--outdated',
'--format json',
Expand Down Expand Up @@ -302,6 +304,7 @@ describe("listOutdatedPackages", () => {
jest.doMock("@actions/exec", () => ({ getExecOutput: getExecOutputMock }));

const expectedArgs = [
'list',
'package',
'--outdated',
'--format json',
Expand Down
1 change: 1 addition & 0 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.

1 change: 1 addition & 0 deletions src/services/dotnetService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function getFrameworkArguments(): string[] {
*/
async function listOutdatedPackages(): Promise<Configuration> {
const args: string[] = [
'list',
getTargetArgument(),
'package',
'--outdated',
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"skipLibCheck": true,
"newLine": "lf"
},
"exclude": ["./dist", "./node_modules", "./__tests__", "./coverage", "jest.config.ts"]
"exclude": ["./dist", "./node_modules", "./__tests__", "./coverage", "jest.config.ts", "./.qodana", "./test-results"]
}

0 comments on commit 3b7f4f9

Please sign in to comment.