Skip to content

fix(create-sanity): make path lookup more resistent#304

Merged
binoy14 merged 1 commit intomainfrom
01-16-fix_create-sanity_make_path_lookup_more_resistent
Jan 23, 2026
Merged

fix(create-sanity): make path lookup more resistent#304
binoy14 merged 1 commit intomainfrom
01-16-fix_create-sanity_make_path_lookup_more_resistent

Conversation

@binoy14
Copy link
Contributor

@binoy14 binoy14 commented Jan 17, 2026

Use built in node primitives to lookup path and resolve the path making it less error prone. Existing tests should suffice

Copy link
Contributor Author

binoy14 commented Jan 17, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@claude
Copy link

claude bot commented Jan 17, 2026

Claude finished @binoy14's task in 52s —— View job


Review Complete

  • Check git diff to see changes
  • Read modified file
  • Analyze for issues
  • Provide feedback

Issues Found

Typo in PR title (packages/create-sanity/index.js)
The PR title says "resistent" but should be "resistant".

Missing test coverage (packages/create-sanity/index.js)
No tests found for this file. The path resolution logic should be tested, especially since this is the second fix in this area (following PR #302). Consider adding tests to prevent future regressions.

@github-actions
Copy link

github-actions bot commented Jan 17, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 70.72% 5492 / 7765
🔵 Statements 70.07% 5633 / 8038
🔵 Functions 57.71% 819 / 1419
🔵 Branches 58.7% 2457 / 4185
File CoverageNo changed files found.
Generated in workflow #1563 for commit f89d8bb by the Vitest Coverage Report Action

@binoy14 binoy14 marked this pull request as ready for review January 17, 2026 01:09
@binoy14 binoy14 requested a review from a team as a code owner January 17, 2026 01:09
@binoy14 binoy14 requested review from mttdnt and rexxars and removed request for a team January 17, 2026 01:09
@binoy14 binoy14 merged commit d7fc042 into main Jan 23, 2026
33 of 35 checks passed
@binoy14 binoy14 deleted the 01-16-fix_create-sanity_make_path_lookup_more_resistent branch January 23, 2026 03:19
@squiggler-app squiggler-app bot mentioned this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants