Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the Autobuilder log message referring to build modes clearer #2668

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sidshank
Copy link

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

logger.info(`Using ${config.buildMode} build mode, nothing to autobuild.`);
logger.info(
`Using build mode "${config.buildMode}", nothing to autobuild. ` +
`See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,

Check failure

Code scanning / ESLint

Ensure code is properly formatted, use insertion, deletion, or replacement to obtain desired formatting. Error

Insert ··

Copilot Autofix AI 2 days ago

To fix the problem, we need to ensure that the string concatenation on line 28 is properly indented. This involves adding the necessary spaces to align the code according to the project's coding standards. Specifically, we need to add two spaces before the concatenated string on line 28 to match the indentation level of the previous line.

Suggested changeset 1
src/autobuild.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/src/autobuild.ts b/src/autobuild.ts
--- a/src/autobuild.ts
+++ b/src/autobuild.ts
@@ -27,3 +27,3 @@
       `Using build mode "${config.buildMode}", nothing to autobuild. ` +
-      `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,
+        `See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,
     );
EOF
@@ -27,3 +27,3 @@
`Using build mode "${config.buildMode}", nothing to autobuild. ` +
`See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,
`See ${DocUrl.CODEQL_BUILD_MODES} for more information.`,
);
Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@sidshank
Copy link
Author

Closes #2667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant