Construct placement directly across the facade
This commit is contained in:
@@ -65,8 +65,9 @@ func toEngineInput(input Input) engine.Input {
|
||||
result := engine.Input{
|
||||
Source: input.Source.toEngine(), Imports: input.Imports,
|
||||
Filesystem: toEngineFilesystemContext(input.Filesystem), Destination: toEnginePath(input.Destination),
|
||||
PlacementMode: engine.PlacementMode(input.PlacementMode),
|
||||
}
|
||||
return engine.InputWithPlacement(result, uint8(input.PlacementMode))
|
||||
return result
|
||||
}
|
||||
|
||||
func toEngineLayeredOptions[T any](options LayeredOptions[T]) engine.LayeredOptions[T] {
|
||||
|
||||
Reference in New Issue
Block a user