File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
SomethingNeedDoing/Core/Github Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -47,17 +47,8 @@ public bool WriteMetadata(ConfigMacro macro)
4747 {
4848 metadataBlock . AppendLine ( "dependencies:" ) ;
4949 foreach ( var dep in macro . Metadata . Dependencies )
50- {
5150 if ( dep is GitDependency gitDep )
52- {
5351 metadataBlock . AppendLine ( $ " - repo: { gitDep . GitInfo . RepositoryUrl } ") ;
54- metadataBlock . AppendLine ( $ " path: { gitDep . GitInfo . FilePath } ") ;
55- if ( gitDep . GitInfo . Branch != "main" )
56- metadataBlock . AppendLine ( $ " branch: { gitDep . GitInfo . Branch } ") ;
57- if ( gitDep . Name != Path . GetFileNameWithoutExtension ( gitDep . GitInfo . FilePath ) )
58- metadataBlock . AppendLine ( $ " name: { gitDep . Name } ") ;
59- }
60- }
6152 }
6253
6354 if ( macro . Metadata . TriggerEvents . Any ( ) )
@@ -69,12 +60,6 @@ public bool WriteMetadata(ConfigMacro macro)
6960 if ( macro . Metadata . PluginsToDisable . Any ( ) )
7061 metadataBlock . AppendLine ( $ "plugins_to_disable: { string . Join ( ", " , macro . Metadata . PluginsToDisable ) } ") ;
7162
72- if ( macro . Metadata . CraftingLoop )
73- {
74- metadataBlock . AppendLine ( $ "crafting_loop: true") ;
75- metadataBlock . AppendLine ( $ "craft_loop_count: { macro . Metadata . CraftLoopCount } ") ;
76- }
77-
7863 if ( macro . Metadata . AddonEventConfig != null )
7964 {
8065 metadataBlock . AppendLine ( $ "addon_event:") ;
You can’t perform that action at this time.
0 commit comments