gracefullyRemove() — tailwindcss Function Reference
Architecture documentation for the gracefullyRemove() function in utils.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 58b6ded7_4a3b_3039_cd5d_91d120586fe3["gracefullyRemove()"] 7600373a_3645_efb1_bcbb_e7c3fcb813ac["utils.ts"] 58b6ded7_4a3b_3039_cd5d_91d120586fe3 -->|defined in| 7600373a_3645_efb1_bcbb_e7c3fcb813ac 44ea7d66_6ac1_15b9_1cc7_d01c23a5ee04["test()"] 44ea7d66_6ac1_15b9_1cc7_d01c23a5ee04 -->|calls| 58b6ded7_4a3b_3039_cd5d_91d120586fe3 style 58b6ded7_4a3b_3039_cd5d_91d120586fe3 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
Defined In
Called By
Source
Frequently Asked Questions
What does gracefullyRemove() do?
gracefullyRemove() is a function in the tailwindcss codebase, defined in integrations/utils.ts.
Where is gracefullyRemove() defined?
gracefullyRemove() is defined in integrations/utils.ts at line 609.
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