File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,10 @@ analyzer"
115115 (eval (intern (concat (format " %s " (car enabled-member) ) " -download-url" ))))
116116 (enabled-member--analyzer-path
117117 (eval (intern (concat (format " %s " (car enabled-member) ) " -analyzer-path" )))))
118- (progn
119- (when (not (file-exists-p
120- enabled-member--analyzer-path))
121- (when (yes-or-no-p " lsp-sonarlint language plugin not found, do you want to download it? " )
122- (shell-command (concat " curl " enabled-member--download-url " --output " enabled-member--analyzer-path))))))
118+ ((unless (file-exists-p
119+ enabled-member--analyzer-path)
120+ (when (yes-or-no-p " lsp-sonarlint language plugin not found, do you want to download it? " )
121+ (shell-command (concat " curl " enabled-member--download-url " --output " enabled-member--analyzer-path))))))
123122 (concat " file://" (eval (intern (concat (format " %s " (car enabled-member) ) " -analyzer-path" ))) " " ))
124123 lsp-sonarlint--enabled-plugins)))
125124
@@ -130,10 +129,9 @@ analyzer"
130129 (rule-formated-title (replace-regexp-in-string " >" " "
131130 (replace-regexp-in-string " <" " " rule-title)))
132131 (rule-body (aref (ht-get rule " arguments" ) 2 )))
133- (progn
134- (insert rule-formated-title)
135- (insert " \n " )
136- (insert rule-body)))
132+ ((insert rule-formated-title)
133+ (insert " \n " )
134+ (insert rule-body)))
137135 (shr-render-buffer (current-buffer ))))
138136
139137
You can’t perform that action at this time.
0 commit comments