Skip to content

Commit 3324298

Browse files
authored
[skip changelog] Update Platform Specification link in warning (#1199)
When a boards platform uses an outdated `recipe.ar.pattern`, Arduino CLI displays a helpful message: Unable to cache built core, please tell foo:[email protected] maintainers to follow http://goo.gl/QdCUjo That short link points to the old Arduino Platform Specification page in the arduino/Arduino repository's wiki. The platform specification has since been moved to the arduino/arduino-cli repository. Even though the old page provides a link to the new location, this message uses an anchor to direct the developer to the relevant section of the specification. When they follow the link from the old page, they will simply end up at the top of the specification and may have a hard time finding the information that tells them how to fix the platform. Updating the link restores the intended behavior.
1 parent a0b29ca commit 3324298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: legacy/builder/constants/constants.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const LOG_LEVEL_WARN = "warn"
8383
const MSG_ARCH_FOLDER_NOT_SUPPORTED = "'arch' folder is no longer supported! See http://goo.gl/gfFJzU for more information"
8484
const MSG_ARCHIVING_CORE_CACHE = "Archiving built core (caching) in: {0}"
8585
const MSG_ERROR_ARCHIVING_CORE_CACHE = "Error archiving built core (caching) in {0}: {1}"
86-
const MSG_CORE_CACHE_UNAVAILABLE = "Unable to cache built core, please tell {0} maintainers to follow http://goo.gl/QdCUjo"
86+
const MSG_CORE_CACHE_UNAVAILABLE = "Unable to cache built core, please tell {0} maintainers to follow https://arduino.github.io/arduino-cli/latest/platform-specification/#recipes-to-build-the-corea-archive-file"
8787
const MSG_BOARD_UNKNOWN = "Board {0} (platform {1}, package {2}) is unknown"
8888
const MSG_BOOTLOADER_FILE_MISSING = "Bootloader file specified but missing: {0}"
8989
const MSG_BUILD_OPTIONS_CHANGED = "Build options changed, rebuilding all"

0 commit comments

Comments
 (0)