jayjun / rambo

Run your command. Send input. Get output.
MIT License
204 stars 23 forks source link

Incorrect spec for run/3 #10

Closed eeide closed 3 years ago

eeide commented 3 years ago

https://github.com/jayjun/rambo/blob/9d66e7a7ea5a822774bba88a80bc612f13396d48/lib/rambo.ex#L130

I believe that—similar to the other versions of run—the spec for argument command should be:

command :: String.t() | result

jayjun commented 3 years ago

You are dead right, thanks! Fixed in 0.3.4.