Commit bd9d7156 authored by Cristian Maglie's avatar Cristian Maglie

Fixed app name in error message

parent cc3666eb
......@@ -128,7 +128,7 @@ func run(cmd *cobra.Command, args []string) {
PlatformArchitecture: coreName,
})
if targetPlatform == nil || targetPlatform.GetInstalled() == nil {
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))
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))
os.Exit(commands.ErrCoreConfig)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment