Remove duplicate entry in initializer map

This commit is contained in:
Edvard 2018-12-13 13:16:49 +01:00
parent e5db740ae4
commit a3737c46f6

View File

@ -91,7 +91,6 @@ func getTransformerInitializers(transformerNames []string) []shared2.Transformer
func buildTransformerInitializerMap() map[string]shared2.TransformerInitializer {
initializerMap := make(map[string]shared2.TransformerInitializer)
initializerMap[constants.BiteLabel] = transformers.BiteTransformer.NewTransformer
initializerMap[constants.BiteLabel] = transformers.BiteTransformer.NewTransformer
initializerMap[constants.CatFileChopLumpLabel] = transformers.CatFileChopLumpTransformer.NewLogNoteTransformer
initializerMap[constants.CatFileFlipLabel] = transformers.CatFileFlipTransformer.NewLogNoteTransformer