Skip to content

Commit 31f17eb

Browse files
km-anthropicclaude
andcommitted
fix: Resolve TypeScript errors after removing slash commands
- Remove third argument from setupClaudeCodeSettings call in index.ts - Remove unused 'readdir' import from test file 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 554fbba commit 31f17eb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

base-action/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ async function run() {
1313
await setupClaudeCodeSettings(
1414
process.env.INPUT_SETTINGS,
1515
undefined, // homeDir
16-
process.env.INPUT_EXPERIMENTAL_SLASH_COMMANDS_DIR,
1716
);
1817

1918
const promptConfig = await preparePrompt({

base-action/test/setup-claude-code-settings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { describe, test, expect, beforeEach, afterEach } from "bun:test";
44
import { setupClaudeCodeSettings } from "../src/setup-claude-code-settings";
55
import { tmpdir } from "os";
6-
import { mkdir, writeFile, readFile, rm, readdir } from "fs/promises";
6+
import { mkdir, writeFile, readFile, rm } from "fs/promises";
77
import { join } from "path";
88

99
const testHomeDir = join(

0 commit comments

Comments
 (0)