Skip to content

Commit

Permalink
Merge pull request #33 from ericwolter/master
Browse files Browse the repository at this point in the history
Fixed incompatibility with new version of bodyParser in connect >=1.8
  • Loading branch information
AJ ONeal committed Oct 26, 2012
2 parents caa42d8 + e9b670c commit 271745b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/formaline.js
Expand Up @@ -512,7 +512,7 @@ fproto.parse = function ( req, res, next ) {

/** END INNER METHODS **/

if ( ( req ) && ( typeof req === 'object' ) && ( req.body === undefined ) && ( req.method === 'POST' || req.method === 'PUT' ) && ( hs ) ) {
if ( ( req ) && ( typeof req === 'object' ) && ( req.method === 'POST' || req.method === 'PUT' ) && ( hs ) ) {
me.sid = retrieveSessionIdentifier();
if( me.mkDirSync ) {
me.logger( 1, '\033[7;36mformaline, You have choosen to create and check directories in the sync way.\033[0m');
Expand Down

0 comments on commit 271745b

Please sign in to comment.