git: 5fdac53c577e - main - misc/github-copilot-cli: Fix typo in comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Mar 2026 20:55:22 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5fdac53c577e649faf7e7ecb4b79b7b87fdf6c34
commit 5fdac53c577e649faf7e7ecb4b79b7b87fdf6c34
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-01 20:55:07 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-01 20:55:07 +0000
misc/github-copilot-cli: Fix typo in comment
---
.../files/patch-node__modules__github_copilot_npm-loader.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/github-copilot-cli/files/patch-node__modules__github_copilot_npm-loader.js b/misc/github-copilot-cli/files/patch-node__modules__github_copilot_npm-loader.js
index 7c6235ea5a01..f17ba27128eb 100644
--- a/misc/github-copilot-cli/files/patch-node__modules__github_copilot_npm-loader.js
+++ b/misc/github-copilot-cli/files/patch-node__modules__github_copilot_npm-loader.js
@@ -4,7 +4,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
-+// Disable the built-in ripgrep (whic is non-existent) to ensure that the CLI uses the bundled version
++// Disable the built-in ripgrep (which is non-existent) to ensure that the CLI uses the externally installed ripgrep
+process.env.USE_BUILTIN_RIPGREP = 'false';
+
import{spawnSync as e}from"node:child_process";import{fileURLToPath as s}from"node:url";async function t(){try{const o=s(import.meta.resolve(`@github/copilot-${process.platform}-${process.arch}`)),r=e(o,process.argv.slice(2),{stdio:"inherit"});process.exit(r.status??1)}catch{}parseInt(process.versions.node.split(".")[0],10)<22&&(console.error(`GitHub Copilot CLI requires Node.js v22 or higher. Currently using v${process.versions.node}.`),process.exit(1));try{await import("./index.js")}catch(o){console.error("Failed to load GitHub Copilot CLI:",o),process.exit(1)}}t();