Home / Function/ gracefullyRemove() — tailwindcss Function Reference

gracefullyRemove() — tailwindcss Function Reference

Architecture documentation for the gracefullyRemove() function in utils.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4e38a30e_dedd_1ec9_f7cb_f8f0d30d2961["gracefullyRemove()"]
  323920ab_ae9d_fcbf_30d4_edccd93f84b9["test()"]
  323920ab_ae9d_fcbf_30d4_edccd93f84b9 -->|calls| 4e38a30e_dedd_1ec9_f7cb_f8f0d30d2961
  style 4e38a30e_dedd_1ec9_f7cb_f8f0d30d2961 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

integrations/utils.ts lines 609–616

async function gracefullyRemove(dir: string) {
  // Skip removing the directory in CI because it can stall on Windows
  if (!process.env.CI) {
    await fs.rm(dir, { recursive: true, force: true }).catch((error) => {
      console.log(`Failed to remove ${dir}`, error)
    })
  }
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does gracefullyRemove() do?
gracefullyRemove() is a function in the tailwindcss codebase.
What calls gracefullyRemove()?
gracefullyRemove() is called by 1 function(s): test.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free