Skip to content

Commit

Permalink
Use comma-separated list
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Mercer committed Feb 27, 2024
1 parent 6046573 commit 2c235f1
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/init-action.js

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

2 changes: 1 addition & 1 deletion lib/init-action.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/status-report.js

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

2 changes: 1 addition & 1 deletion lib/status-report.test.js

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

1 change: 0 additions & 1 deletion src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ async function sendCompletedStatusReport(
const initWithConfigStatusReport: InitWithConfigStatusReport = {
...initStatusReport,
disable_default_queries: disableDefaultQueries,
languages,
paths,
paths_ignore: pathsIgnore,
queries: queries.join(","),
Expand Down
2 changes: 1 addition & 1 deletion src/status-report.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test("createStatusReportBase", async (t) => {
t.is(statusReport.exception, "exception stack trace");
t.is(statusReport.job_name, process.env["GITHUB_JOB"] || "");
t.is(typeof statusReport.job_run_uuid, "string");
t.is(statusReport.languages, "java swift");
t.is(statusReport.languages, "java,swift");
t.is(statusReport.ref, process.env["GITHUB_REF"]!);
t.is(statusReport.runner_available_disk_space_bytes, 100);
t.is(statusReport.runner_image_version, process.env["ImageVersion"]);
Expand Down
2 changes: 1 addition & 1 deletion src/status-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export async function createStatusReportBase(
}

if (config) {
statusReport.languages = config.languages.join(" ");
statusReport.languages = config.languages.join(",");
}

if (diskInfo) {
Expand Down

0 comments on commit 2c235f1

Please sign in to comment.