Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2026-02-11 09:35:24 -05:00
committed by GitHub
parent 544bc1bc4f
commit f636a97faa
81 changed files with 109 additions and 110 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ export class GitHubUpdater {
log.info(`GitHubUpdater: Looking for asset named: ${assetName}`);
log.info(`GitHubUpdater: Available assets: ${release.assets.map((a) => a.name).join(', ')}`);
const asset = release.assets.find((a) => a.name.toLowerCase() === assetName.toLowerCase()); // keeping comparison to lower case becasue Goose vs goose
const asset = release.assets.find((a) => a.name.toLowerCase() === assetName.toLowerCase()); // keeping comparison to lowercase because Goose vs goose
if (asset) {
downloadUrl = asset.browser_download_url;
log.info(`GitHubUpdater: Found matching asset: ${asset.name} (${asset.size} bytes)`);
@@ -34,7 +34,7 @@ describe('interruptionDetector', () => {
expect(result?.shouldInterrupt).toBe(true);
});
it('is case insensitive', () => {
it('is case-insensitive', () => {
expect(detectInterruption('STOP')?.confidence).toBe(1.0);
expect(detectInterruption('Stop')?.confidence).toBe(1.0);
expect(detectInterruption('sToP')?.confidence).toBe(1.0);
+1 -1
View File
@@ -11,7 +11,7 @@ export async function startOpenRouterSetup(): Promise<{ success: boolean; messag
} catch (e) {
return {
success: false,
message: `Failed to start Openrouter setup ['${e}]`,
message: `Failed to start OpenRouter setup ['${e}]`,
};
}
}
+1 -1
View File
@@ -15,7 +15,7 @@ export function loadRecentDirs(): string[] {
const data = fs.readFileSync(RECENT_DIRS_FILE, 'utf8');
const recentDirs: RecentDirs = JSON.parse(data);
// Filter out invalid directories (non-existent or not directories)
// Filter out invalid directories (nonexistent or not directories)
const validDirs = recentDirs.dirs.filter((dir) => {
try {
// Use lstat to detect symlinks and validate path structure
+1 -1
View File
@@ -33,7 +33,7 @@ export class SearchHighlighter {
z-index: 1;
`;
// Find scroll container (look for our custom data attribute first, then fallback to radix)
// Find scroll container (look for our custom data attribute first, then fall back to radix)
const searchScrollArea = container.closest('[data-search-scroll-area]');
this.scrollContainer =
searchScrollArea?.querySelector('[data-radix-scroll-area-viewport]') ||