1. Atlassian
  2. Atlassian Connect
  3. atlas-connect

Commits

Rich Manalang  committed ce05602

No need to generate keys for hipchat templates

  • Participants
  • Parent commits 005278b
  • Branches master

Comments (0)

Files changed (1)

File bin/atlas-connect

View file
 switch(cmd){
   case "new":
     generateScaffold(params[0], argv.t, function(err){
-      if (!err)
-        generateKeys(path.join(process.cwd(),params[0]));
-      else
+      if (!err) {
+        if (argv.t !== 'hipchat'){
+          generateKeys(path.join(process.cwd(),params[0]));
+        }
+      } else {
         console.log(err);
+      }
     });
     break;
   case "keygen":