remove URL encoding

This commit is contained in:
Robert Brignull 2020-05-11 16:24:39 +01:00
parent 546d5a8843
commit 3455736978
2 changed files with 2 additions and 2 deletions

2
lib/util.js generated
View file

@ -185,7 +185,7 @@ async function getAnalysisKey() {
}
const workflowPath = await getWorkflowPath();
const jobName = getRequiredEnvParam('GITHUB_JOB');
analysisKey = encodeURI(workflowPath) + ':' + encodeURI(jobName);
analysisKey = workflowPath + ':' + jobName;
core.exportVariable(sharedEnv.CODEQL_ACTION_ANALYSIS_KEY, analysisKey);
return analysisKey;
}

View file

@ -193,7 +193,7 @@ export async function getAnalysisKey(): Promise<string> {
const workflowPath = await getWorkflowPath();
const jobName = getRequiredEnvParam('GITHUB_JOB');
analysisKey = encodeURI(workflowPath) + ':' + encodeURI(jobName);
analysisKey = workflowPath + ':' + jobName;
core.exportVariable(sharedEnv.CODEQL_ACTION_ANALYSIS_KEY, analysisKey);
return analysisKey;
}