Skip to content

Commit d1b5b35

Browse files
authored
Merge pull request niutech#27 from NurdTurd/patch-1
Clean up the rest of the files on uninstall.
2 parents 5280af2 + 8802100 commit d1b5b35

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

node.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ function node_uninstall() {
5454
}
5555
echo "Unnstalling Node.js:\n";
5656
passthru("rm -rf " . NODE_DIR . " nodepid", $ret);
57+
passthru("rm -rf node_modules", $ret);
58+
passthru("rm -rf .npm", $ret);
59+
passthru("rm -rf nodeout", $ret);
5760
echo $ret === 0 ? "Done.\n" : "Failed. Error: $ret\n";
5861
}
5962

0 commit comments

Comments
 (0)