diff --git a/lib/scripts/gen-docs.js b/lib/scripts/gen-docs.js
index <HASH>..<HASH> 100755
--- a/lib/scripts/gen-docs.js
+++ b/lib/scripts/gen-docs.js
@@ -911,9 +911,6 @@ var generate = function (options_in, callBack) {
             fileName = fileName[fileName.length - 1];
             fse.copySync(path.resolve(process.cwd(), file), ABS_WEBAPP + '/resources/extra/css/' + fileName);
         }
-        
-        return Q.all();
-    }).then(function() {
 
         //generate information on the groups for the UI
         generateGroupManifest(groups);
Remove unneeded promise and Q.all in the end of gen-docs.generate