| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ function stat_resource(resource) { | |||
| 18 | 18 | } | |
| 19 | 19 | ||
| 20 | 20 | function check_mtime(resource, mtime) { | |
| 21 | - var mtime = fs._toUnixTimestamp(mtime); | ||
| 21 | + mtime = fs._toUnixTimestamp(mtime); | ||
| 22 | 22 | var stats = stat_resource(resource); | |
| 23 | 23 | var real_mtime = fs._toUnixTimestamp(stats.mtime); | |
| 24 | 24 | // check up to single-second precision | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -71,7 +71,6 @@ fs.writeFile(filename3, n, { mode: m }, function(e) { | |||
| 71 | 71 | ||
| 72 | 72 | // test that writeFile accepts file descriptors | |
| 73 | 73 | var filename4 = join(common.tmpDir, 'test4.txt'); | |
| 74 | - var buf = new Buffer(s, 'utf8'); | ||
| 75 | 74 | ||
| 76 | 75 | fs.open(filename4, 'w+', function(e, fd) { | |
| 77 | 76 | if (e) throw e; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments