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; -*-
|
||||
;;; lang/solidity/doctor.el
|
||||
|
||||
(unless (executable-find "solc")
|
||||
(warn! "Solc isn't installed."))
|
||||
|
||||
(unless (executable-find "solium -V")
|
||||
(warn! "Solium isn't installed."))
|
||||
(when (require 'solidity-common nil t)
|
||||
(unless (executable-find solidity-solc-path)
|
||||
(warn! "Solc isn't installed."))
|
||||
(unless (executable-find solidity-solium-path)
|
||||
(warn! "Solium isn't installed.")))
|
||||
|
Reference in New Issue
Block a user