mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
This commit only adds a single package and all of its transitive dependencies. The github-linguist package will be used for counting lines of code as a baseline for databases we are analyzing.
299 B
299 B
removeSync(path)
Removes a file or directory. The directory can have contents. Like rm -rf.
path<String>
Example:
const fs = require('fs-extra')
// remove file
fs.removeSync('/tmp/myfile')
fs.removeSync('/home/jprichardson') // I just deleted my entire HOME directory.