infinitered / solidarity

Solidarity is an environment checker for project dependencies across multiple machines.
https://infinitered.github.io/solidarity/
MIT License
639 stars 49 forks source link

Friendly error not working for dir and file rule type #256

Closed mishra-ankit closed 4 years ago

mishra-ankit commented 4 years ago

Version : 3.0.0

Steps :

{
  "requirements": {
    "TypeScript Active": [
      { "rule": "dir", "location": "./src1", "error": "Did you get this code from npm? Try GitHub!" },
      { "rule": "file", "location": "./1.txt", "error": "You don't have 1.txt. Go get it.!" }
    ]
  }
}

Expected : Print user specified custom error message from rule.

Used to work in 2.3.1

mishra-ankit commented 4 years ago

I can create a PR for it.

GantMan commented 4 years ago

Thanks @mishra-ankit