Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix wrong call example
Browse files Browse the repository at this point in the history
The documentation is for remove function but the example shows removeDirectory.
  • Loading branch information
zorrored committed May 8, 2015
1 parent aad8f4a commit 6fd68fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/api/fs/method/2000-01-01-remove.md
Expand Up @@ -17,7 +17,7 @@ When errors occur during a call, it will throw a 'Unable to remove file PATH' an
var fs = require('fs');
var toDelete = 'someFile.txt';

fs.removeDirectory(toDelete);
fs.remove(toDelete);

phantom.exit();
```
Expand Down

0 comments on commit 6fd68fb

Please sign in to comment.