fix(hooks): remove unused toolName parameter from extractTargetDirectory #145

Merged
jonas.hanisch merged 2 commits from fix/137-remove-unused-toolname-param into main 2026-01-24 12:16:35 +00:00
Owner

Summary

Removes the unused toolName parameter from the extractTargetDirectory function in post-tool-use.ts.

Changes:

  • Removed unused toolName parameter from function signature
  • Updated call site to not pass the parameter
  • Updated docstring to reflect actual behavior

The function only inspects input properties (file_path, path, notebook_path) to determine the target directory - it never used the tool name.

Closes #137

## Summary Removes the unused `toolName` parameter from the `extractTargetDirectory` function in `post-tool-use.ts`. ### Changes: - Removed unused `toolName` parameter from function signature - Updated call site to not pass the parameter - Updated docstring to reflect actual behavior The function only inspects input properties (`file_path`, `path`, `notebook_path`) to determine the target directory - it never used the tool name. Closes #137
fix(hooks): remove unused toolName parameter from extractTargetDirectory
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 43s
CI / validate-plugin (pull_request) Successful in 36s
90de2e38e8
The toolName parameter was passed but never used - the function
only inspects input properties (file_path, path, notebook_path)
to determine the target directory.

Closes #137

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed fix/137-remove-unused-toolname-param from 90de2e38e8
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 43s
CI / validate-plugin (pull_request) Successful in 36s
to e3aca89d8c
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 1m18s
CI / validate-plugin (pull_request) Successful in 1m10s
2026-01-24 10:40:58 +00:00
Compare
Merge branch 'main' into fix/137-remove-unused-toolname-param
All checks were successful
CI / build (pull_request) Successful in 44s
1a4a10988d
jonas.hanisch deleted branch fix/137-remove-unused-toolname-param 2026-01-24 12:16:35 +00:00
Sign in to join this conversation.
No description provided.