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) {
365365			if  profileArg .String () ==  ""  {
366366				res .Error  +=  fmt .Sprintln ()
367367
368- 				if  platform , errS  :=  core .PlatformSearch (& rpc.PlatformSearchRequest {
368+ 				if  platform , err  :=  core .PlatformSearch (& rpc.PlatformSearchRequest {
369369					Instance :    inst ,
370370					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 ()
373374				} else  if  len (platform .GetSearchOutput ()) >  0  {
374375					suggestion  :=  fmt .Sprintf ("`%s core install %s`" , version .VersionInfo .Application , platformErr .Platform )
375376					res .Error  +=  tr ("Try running %s" , suggestion )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments