mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/solidity: improve binary checks in doctor.el
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||||
;;; lang/solidity/doctor.el
|
;;; lang/solidity/doctor.el
|
||||||
|
|
||||||
(unless (executable-find "solc")
|
(when (require 'solidity-common nil t)
|
||||||
(warn! "Solc isn't installed."))
|
(unless (executable-find solidity-solc-path)
|
||||||
|
(warn! "Solc isn't installed."))
|
||||||
(unless (executable-find "solium -V")
|
(unless (executable-find solidity-solium-path)
|
||||||
(warn! "Solium isn't installed."))
|
(warn! "Solium isn't installed.")))
|
||||||
|
Reference in New Issue
Block a user