Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
fix undefined variable in fs.copy(). closeds #125
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Jun 9, 2011
1 parent e692897 commit cf55f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lib/fs.js
Expand Up @@ -130,7 +130,7 @@ exports.listObjects = function(path) {
*/
exports.copy = function(from, to) {
from = MozFile(from);
ensureExists(file);
ensureExists(from);
to = MozFile(to);
if (to.isFile())
to = to.parent;
Expand Down

0 comments on commit cf55f04

Please sign in to comment.