Skip to content

Commit

Permalink
renaming nmods/nmod
Browse files Browse the repository at this point in the history
	modified:   TODO.md
	renamed:    nmods -> nmod
  • Loading branch information
jeromeetienne committed Feb 27, 2011
1 parent ca2b63e commit 3a1f71b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* error message
* install from npm and git
* first publish without git
* name: im not sure about the S in nmods
* i prefere to type nmod when i use it


### NOTES (wondering if not too complex)
Expand Down
4 changes: 1 addition & 3 deletions nmods → nmod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/




var utils = {
/**
* Fetch content of a url
Expand Down Expand Up @@ -265,7 +263,7 @@ var nmods = function(cmdline, cmdopts){
// get the root directory basename from the package
var basenames = require('fs').readdirSync(tmpDirname);
console.assert(basenames.length === 1)
console.log("moving", tmpDirname+"/"+basenames[0], "to", dstDirname)
//console.log("moving", tmpDirname+"/"+basenames[0], "to", dstDirname)
// move the untar package from tmpDirname to dstDirname
require('fs').rename(tmpDirname+"/"+basenames[0], dstDirname);
// remove tmpDirname
Expand Down

0 comments on commit 3a1f71b

Please sign in to comment.