Skip to content

Commit 4d998e1

Browse files
author
Federico Fissore
committed
Fixed wrong case in constants
Signed-off-by: Federico Fissore <[email protected]>
1 parent 3288069 commit 4d998e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arduino.cc/builder/constants/constants.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const MSG_RUNNING_COMMAND = "Running: {0}"
207207
const MSG_RUNNING_RECIPE = "Running recipe: {0}"
208208
const MSG_SETTING_BUILD_PATH = "Setting build path to {0}"
209209
const MSG_SKETCH_CANT_BE_IN_BUILDPATH = "Sketch cannot be located in build path. Please specify a different build path"
210-
const MSG_UNHANDlED_TYPE_IN_CONTEXT = "Unhandled type {0} in context {1} key"
210+
const MSG_UNHANDLED_TYPE_IN_CONTEXT = "Unhandled type {0} in context {1} key"
211211
const MSG_UNKNOWN_SKETCH_EXT = "Unknown sketch file extension: {0}"
212212
const MSG_USING_LIBRARY_AT_VERSION = "Using library {0} at version {1} in folder: {2} {3}"
213213
const MSG_USING_LIBRARY = "Using library {0} in folder: {1} {2}"

src/arduino.cc/builder/create_build_options_map.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (s *CreateBuildOptionsMap) Run(context map[string]interface{}) error {
5151
} else if kindOfValue == reflect.String {
5252
value = originalValue.(string)
5353
} else {
54-
return utils.Errorf(context, constants.MSG_UNHANDlED_TYPE_IN_CONTEXT, kindOfValue.String(), key)
54+
return utils.Errorf(context, constants.MSG_UNHANDLED_TYPE_IN_CONTEXT, kindOfValue.String(), key)
5555
}
5656

5757
buildOptions[key] = value

0 commit comments

Comments
 (0)