diff --git a/src/verbs/build.js b/src/verbs/build.js index d6a5f55..a1c726d 100644 --- a/src/verbs/build.js +++ b/src/verbs/build.js @@ -226,8 +226,7 @@ Implementation of the 'generate' verb for HackMyResume. }; }), function(t) { - return t.format === 'all' || - theme.hasFormat( parsePath( t.format ).extname.substr(1)); + return t.format === 'all' || theme.hasFormat( t.format ); } );