File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ const MSG_PROP_IN_LIBRARY = "Missing '{0}' from library in {1}"
194
194
const MSG_RUNNING_COMMAND = "Running: {0}"
195
195
const MSG_RUNNING_RECIPE = "Running recipe: {0}"
196
196
const MSG_SETTING_BUILD_PATH = "Setting build path to {0}"
197
+ const MSG_SKETCH_CANT_BE_IN_BUILDPATH = "Sketch cannot be located in build path. Please specify a different build path"
197
198
const MSG_UNHANDlED_TYPE_IN_CONTEXT = "Unhandled type {0} in context {1} key"
198
199
const MSG_UNKNOWN_SKETCH_EXT = "Unknown sketch file extension: {0}"
199
200
const MSG_USING_LIBRARY_AT_VERSION = "Using library {0} at version {1} in folder: {2} {3}"
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func (s *FailIfBuildpathEqualsSketchPath) Run(context map[string]interface{}) er
54
54
sketchPath = filepath .Dir (sketchPath )
55
55
56
56
if buildPath == sketchPath {
57
- return utils .Errorf (context , "Sketch cannot be located in build path. Please specify a different build path" )
57
+ return utils .Errorf (context , constants . MSG_SKETCH_CANT_BE_IN_BUILDPATH )
58
58
}
59
59
60
60
return nil
You can’t perform that action at this time.
0 commit comments