Skip to content
Myr

Fixed express(1) expansion of public dirs. Closes #348

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

Should fix your issue, thanks!

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 2294f23 · Browse files · 1 file+3 added−1 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−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:bin/express+3 added-1 removed
131 unmodified lines
132(function createApplication(path) {133 mkdir(path, function(){134 mkdir(path + '/pids');135 mkdir(path + '/logs');136 mkdir(path + '/public/{javascripts,stylesheets,images}', function(){136 mkdir(path + '/public/javascripts');137 mkdir(path + '/public/images');138 mkdir(path + '/public/stylesheets', function(){139 write(path + '/public/stylesheets/style.sass', sass);140 });141 mkdir(path + '/views/partials', function(){142 write(path + '/views/layout.jade', jadeLayout);
43 unmodified lines