Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 865da70

Browse files
authored
Update Create.cs Resolves #217 and #249
I have removed the debug preprocessor directive. As it was only waiting for a ReadKey it seems inefficent, I have also removed the WriteLine statement prior to the directive, message was misleading in a none debug environment.
1 parent 337d03b commit 865da70

File tree

1 file changed

+2
-5
lines changed
  • src/APIM_ARMTemplate/apimtemplate/Commands

1 file changed

+2
-5
lines changed

src/APIM_ARMTemplate/apimtemplate/Commands/Create.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,10 @@ public CreateCommand()
139139
// write parameters to outputLocation
140140
fileWriter.WriteJSONToFile(templateParameters, String.Concat(creatorConfig.outputLocation, fileNames.parameters));
141141
Console.WriteLine("Templates written to output location");
142-
Console.WriteLine("Press any key to exit process:");
143-
#if DEBUG
144-
Console.ReadKey();
145-
#endif
142+
146143
}
147144
return 0;
148145
});
149146
}
150147
}
151-
}
148+
}

0 commit comments

Comments
 (0)