Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Replace this with fs.rmSync(path, { recursive: true }) when node 12 is deprecate... #2

Description

@todo

// TODO: Replace this with fs.rmSync(path, { recursive: true }) when node 12 is deprecated
// This function has been depriciated, however its replacement was only available
// from v14.14.0 onwards (https://nodejs.org/dist/latest-v16.x/docs/api/fs.html#fs_fs_rmsync_path_options)
rmdirSync(PATCHES_DIR,{recursive: true});
mkdirSync(PATCHES_DIR);
writeFileSync(resolve(PATCHES_DIR,".index"),"");


This issue was generated by todo based on a TODO comment in 5777e35. It's been assigned to @trickypr because they committed the code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions