[PR #4271] [MERGED] test: fix directory not exist #30885

Closed
opened 2026-04-17 21:53:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4271
Author: @himself65
Created: 8/27/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @himself65

Base: canary ← Head: himself65/2025/08/27/create-if-not-exist


📝 Commits (1)

  • f721834 test: fix directory not exist

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 packages/cli/test/info.test.ts (+3 -0)

📄 Description

Summary by cubic

Fix CLI info test by creating node_modules/.cache before running, avoiding ENOENT errors in clean temp dirs. Uses fs.mkdir(..., { recursive: true }) to ensure the path exists and stabilize CI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4271 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/27/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/08/27/create-if-not-exist` --- ### 📝 Commits (1) - [`f721834`](https://github.com/better-auth/better-auth/commit/f7218348fb90c7445d49339fb7326e3f7514619f) test: fix directory not exist ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/test/info.test.ts` (+3 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fix CLI info test by creating node_modules/.cache before running, avoiding ENOENT errors in clean temp dirs. Uses fs.mkdir(..., { recursive: true }) to ensure the path exists and stabilize CI. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 21:53:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#30885