Changed name to command
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -9,9 +9,11 @@ def compile_program(plugin_repository: PluginRepository, program_source: List[di
 | 
			
		||||
 | 
			
		||||
    compiled_program = []
 | 
			
		||||
    for command_source in program_source:
 | 
			
		||||
        logger.debug(f"Compiling: [{command_source['name']}],{command_source['args']}")
 | 
			
		||||
        cmd = command_source['command']
 | 
			
		||||
        args = command_source['args']
 | 
			
		||||
        logger.debug(f"Compiling: [{cmd}:{args}]")
 | 
			
		||||
        compiled_program.append(
 | 
			
		||||
            plugin_repository.get_compiler(command_source['name']).compile(**command_source['args'])
 | 
			
		||||
            plugin_repository.get_compiler(cmd).compile(**args)
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    return compiled_program
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ SUPPORTED_PROGRAM_STRUCTURE_VERSION = 1
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CommandSchema(Schema):
 | 
			
		||||
    name = fields.Str(required=True)
 | 
			
		||||
    command = fields.Str(required=True)
 | 
			
		||||
    args = fields.Dict(required=True)
 | 
			
		||||
 | 
			
		||||
    class Meta:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user