Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion restored-src/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ export function hasCommand(commandName: string, commands: Command[]): boolean {
export function getCommand(commandName: string, commands: Command[]): Command {
const command = findCommand(commandName, commands)
if (!command) {
throw ReferenceError(
throw new ReferenceError(
`Command ${commandName} not found. Available commands: ${commands
.map(_ => {
const name = getCommandName(_)
Expand Down
2 changes: 1 addition & 1 deletion restored-src/src/commands/chrome/chrome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function ClaudeInChromeMenu(t0) {
} else {
options = $[8];
}
const isDisabled = isWSL || true && !isClaudeAISubscriber;
const isDisabled = isWSL || !isClaudeAISubscriber;
let t5;
if ($[18] !== onDone) {
t5 = () => onDone();
Expand Down
2 changes: 1 addition & 1 deletion restored-src/src/utils/claudeInChrome/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export async function installChromeNativeHostManifest(
): Promise<void> {
const manifestDirs = getNativeMessagingHostsDirs()
if (manifestDirs.length === 0) {
throw Error('Claude in Chrome Native Host not supported on this platform')
throw new Error('Claude in Chrome Native Host not supported on this platform')
}

const manifest = {
Expand Down