Skip to content
Myr

Misc refactoring

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 626d322 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:lib/express/view.js+3 added-2 removed
109 unmodified lines
110 if (err) return;111 files.forEach(function(file){112 file = dir + '/' + file;113 fs.stat(file, function(err, stats){114 if (err) return;115 if (stats.isFile()) {114 if (err) {115 return;116 } else if (stats.isFile()) {117 watch(file);118 } else if (stats.isDirectory()) {119 traverse(file);120 }
202 unmodified lines