Skip to content

Commit

Permalink
Install @types/uuid and eliminate a cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Mercer committed Jan 20, 2023
1 parent ba93815 commit cb9be70
Show file tree
Hide file tree
Showing 10 changed files with 194 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/setup-codeql.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions node_modules/.package-lock.json

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

21 changes: 21 additions & 0 deletions node_modules/@types/uuid/LICENSE

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

16 changes: 16 additions & 0 deletions node_modules/@types/uuid/README.md

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

10 changes: 10 additions & 0 deletions node_modules/@types/uuid/index.d.mts

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

79 changes: 79 additions & 0 deletions node_modules/@types/uuid/index.d.ts

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

54 changes: 54 additions & 0 deletions node_modules/@types/uuid/package.json

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

6 changes: 6 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@chrisgavin/safe-which": "^1.0.2",
"@octokit/plugin-retry": "^3.0.9",
"@octokit/types": "^8.0.0",
"@types/uuid": "^9.0.0",
"adm-zip": "^0.5.9",
"commander": "^8.1.0",
"console-log-level": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/setup-codeql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ export async function downloadCodeQL(
`Downloading CodeQL tools from ${codeqlURL}. This may take a while.`
);

const dest = path.join(tempDir, uuidV4() as string);
const dest = path.join(tempDir, uuidV4());
const finalHeaders = Object.assign(
{ "User-Agent": "CodeQL Action" },
headers
Expand Down

0 comments on commit cb9be70

Please sign in to comment.