Skip to content

Conversation

@betafcc
Copy link
Contributor

@betafcc betafcc commented Oct 6, 2025

No description provided.

@betafcc betafcc self-assigned this Oct 6, 2025
@betafcc betafcc merged commit ebdcdab into main Oct 6, 2025
1 check passed
const graphqlMarkdownConfig = require('./graphql-markdown.config');
const { specs } = require('./redoc.config');
const DOCS_URL = 'https://docs.epilot.io';
const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io'

Check notice

Code scanning / CodeQL

Semicolon insertion Note

Avoid automated semicolon insertion (90% of all statements in
the enclosing script
have an explicit semicolon).

Copilot Autofix

AI 3 months ago

The fix is simple: add an explicit semicolon at the end of line 11, making it const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io';. This changes nothing functionally, but improves consistency, prevents accidental ASI hazards, and follows project conventions. Only line 11 in docusaurus.config.js needs to be changed; no imports or additional methods are required.


Suggested changeset 1
docusaurus.config.js

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/docusaurus.config.js b/docusaurus.config.js
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -8,7 +8,7 @@
 
 const graphqlMarkdownConfig = require('./graphql-markdown.config');
 const { specs } = require('./redoc.config');
-const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io'
+const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io';
 
 const changelogProcessingDir = path.join(__dirname, 'changelog-processing');
 
EOF
@@ -8,7 +8,7 @@

const graphqlMarkdownConfig = require('./graphql-markdown.config');
const { specs } = require('./redoc.config');
const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io'
const DOCS_URL = process.env.DOCS_URL || 'https://docs.epilot.io';

const changelogProcessingDir = path.join(__dirname, 'changelog-processing');

Copilot is powered by AI and may make mistakes. Always verify output.
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.

2 participants