mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use /usr/bin/editor if exists.
This commit is contained in:
parent
9e1095608d
commit
ea8d5f8afc
@ -263,6 +263,8 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
if (getenv("EDITOR"))
|
||||
SyntaxTestTool::editor = getenv("EDITOR");
|
||||
else if (fs::exists("/usr/bin/editor"))
|
||||
SyntaxTestTool::editor = "/usr/bin/editor";
|
||||
|
||||
fs::path testPath;
|
||||
bool formatted = true;
|
||||
|
Loading…
Reference in New Issue
Block a user