Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed insecure dependency . #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jpgrace
Copy link

@jpgrace jpgrace commented Feb 15, 2019

See this issue: #38

@@ -14,7 +14,7 @@ var absPath = function (p) {

var removeDir = function (relPath, callback) {
var path = absPath(relPath);
rmdir(path, callback);
exec('rm -r ' + path, callback);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to check if this will work in Windows.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rehrumesh thanks for this question. It almost certainly does not work on Windows and I have no way to test it anyways. Do you have any ideas for how to address this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at this gist I found today: https://gist.github.com/laazebislam/845e61a18541255c0a29eeeb4e0141f4
It looks like it would work and remove a dependency.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using rimraf?

Copy link

@markcarroll markcarroll Apr 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #40 has done just that. Can the maintainer please close this one and approve #40?

@RishikeshDarandale
Copy link

This can be closed now as #40 is merged!

@sesam
Copy link

sesam commented May 30, 2019

Please close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants