Skip to content
This repository

Hi! I fixed some code for you! #11

Merged
merged 1 commit into from over 1 year ago

3 participants

node-migrator-bot Yutaka HARA Joshua Holbrook
node-migrator-bot

Hi!

I am migrationBot!

Did you know that path.{exists,existsSync} was moved to fs.{exists,existsSync}, and that tty.setRawMode(mode) was moved to tty.ReadStream#setRawMode() (i.e. process.stdin.setRawMode()) in node v0.8.0? Read more @API changes between v0.6 and v0.8

I automatically made some changes I think will help you migrate your codebase to node v0.8.0, please review these changes and merge them if you feel they are useful, If they are not you can ignore this Pull Request.

Have a Nice Day!

--migrationBot

Yutaka HARA yhara merged commit e7a29ee into from July 28, 2012
Yutaka HARA yhara closed this July 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 06, 2012
Joshua Holbrook [fix] path.existsSync was moved to fs.existsSync 88ff9e8
This page is out of date. Refresh to see the latest.
2  src/library/node_functions.js
@@ -41,7 +41,7 @@
41 41
   //(file-exists? filename)    procedure 
42 42
   define_node_libfunc("file-exists?", 1, 1, function(ar){
43 43
     assert_string(ar[0]);
44  
-    return node.path.existsSync(ar[0]);
  44
+    return node.fs.existsSync(ar[0]);
45 45
   });
46 46
 
47 47
   //(delete-file filename)    procedure 
2  test/node_functions.js
@@ -36,7 +36,7 @@ var tests = {
36 36
 
37 37
     ev('(delete-file "'+test_file_path+'")');
38 38
 
39  
-    assert.ok(!path.existsSync(test_file_path));
  39
+    assert.ok(!fs.existsSync(test_file_path));
40 40
   },
41 41
 
42 42
   // R6RS stdlib 10
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.