Skip to content

Commit bd9d715

Browse files
committed
Fixed app name in error message
1 parent cc3666e commit bd9d715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/compile/compile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func run(cmd *cobra.Command, args []string) {
128128
PlatformArchitecture: coreName,
129129
})
130130
if targetPlatform == nil || targetPlatform.GetInstalled() == nil {
131-
formatter.PrintErrorMessage(fmt.Sprintf("\"%[1]s:%[2]s\" platform is not installed, please install it by running \"arduino core install %[1]s:%[2]s\".", packageName, coreName))
131+
formatter.PrintErrorMessage(fmt.Sprintf("\"%[1]s:%[2]s\" platform is not installed, please install it by running \""+commands.AppName+" core install %[1]s:%[2]s\".", packageName, coreName))
132132
os.Exit(commands.ErrCoreConfig)
133133
}
134134

0 commit comments

Comments
 (0)