Skip to content
This repository
Browse code

Fix failed test

  • Loading branch information...
commit d185d5cf3a4025fe578e6708d6fbdc565b108723 1 parent 8b77d52
Andreas Richter authored September 10, 2012
3  lib/calipso.js
@@ -294,13 +294,14 @@ function configureTheme(next, overrideTheme) {
294 294
             if ((fs.existsSync || path.existsSync)(themeConfig.path + '/stylus'))
295 295
               mw = calipso.app.mwHelpers.stylusMiddleware(themeConfig.path);
296 296
             else
297  
-              mw = null;
  297
+              mw = {tag:'theme.stylus'};
298 298
             calipso.app.stack[key].handle = mw;
299 299
           }
300 300
 
301 301
           if (middleware.handle.tag === 'theme.static') {
302 302
             foundMiddleware = true;
303 303
             mw = calipso.app.mwHelpers.staticMiddleware(themeConfig.path);
  304
+            mw.tag = 'theme.static';
304 305
             calipso.app.stack[key].handle = mw;
305 306
           }
306 307
 
2  package.json
... ...
@@ -1,7 +1,7 @@
1 1
 {
2 2
   "name": "calipso",
3 3
   "description": "A NodeJS CMS",
4  
-  "version": "0.3.11",
  4
+  "version": "0.3.12",
5 5
   "homepage": "http://calip.so",
6 6
   "repository": {
7 7
     "type": "git",

0 notes on commit d185d5c

Please sign in to comment.
Something went wrong with that request. Please try again.