File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -365,11 +365,12 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
365
365
if profileArg .String () == "" {
366
366
res .Error += fmt .Sprintln ()
367
367
368
- if platform , errS := core .PlatformSearch (& rpc.PlatformSearchRequest {
368
+ if platform , err := core .PlatformSearch (& rpc.PlatformSearchRequest {
369
369
Instance : inst ,
370
370
SearchArgs : platformErr .Platform ,
371
- AllVersions : false }); errS != nil {
372
- res .Error += tr ("%v" , errS )
371
+ AllVersions : false ,
372
+ }); err != nil {
373
+ res .Error += err .Error ()
373
374
} else if len (platform .GetSearchOutput ()) > 0 {
374
375
suggestion := fmt .Sprintf ("`%s core install %s`" , version .VersionInfo .Application , platformErr .Platform )
375
376
res .Error += tr ("Try running %s" , suggestion )
You can’t perform that action at this time.
0 commit comments