mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 09:59:43 +00:00
avoid double slash
This commit is contained in:
2
lib/database-upload.js
generated
2
lib/database-upload.js
generated
@@ -61,7 +61,7 @@ async function uploadDatabases(repositoryNwo, config, apiDetails, logger) {
|
||||
const bundledDbReadStream = fs.createReadStream(bundledDb);
|
||||
const commitOid = await actionsUtil.getCommitOid(actionsUtil.getRequiredInput("checkout_path"));
|
||||
try {
|
||||
await client.request(`POST /repos/:owner/:repo/code-scanning/codeql/databases/:language?name=:name&commit_oid=:commit_oid`, {
|
||||
await client.request(`POST repos/:owner/:repo/code-scanning/codeql/databases/:language?name=:name&commit_oid=:commit_oid`, {
|
||||
baseUrl: uploadsUrl.toString(),
|
||||
owner: repositoryNwo.owner,
|
||||
repo: repositoryNwo.repo,
|
||||
|
||||
Reference in New Issue
Block a user