Skip to content

Commit

Permalink
fixing repo generation
Browse files Browse the repository at this point in the history
  • Loading branch information
revenz committed Jun 9, 2024
1 parent f9de355 commit eb45d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Generators/RepoGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private static List<RepositoryObject> GetScripts(string path, ScriptType type)
throw new Exception("No description found in: " + file.FullName);
if(script.Revision < 1)
throw new Exception("No revision found in: " + file.FullName);
if(script.Uid == null)
if(script.Uid == null && type != ScriptType.Template)
throw new Exception("No UID found in: " + file.FullName);


Expand Down

0 comments on commit eb45d29

Please sign in to comment.