mirror of https://github.com/cirruslabs/tart.git
Use URL's .path property instead of .path() method when removing stale
control sockets in ControlSocket.run(). The .path() method returns only
the relative component ('control.sock') while .path resolves to the
full absolute path. Since the cwd change happens after the cleanup,
removeItem silently failed to find the socket.
Add unit tests verifying controlSocketURL resolves correctly for both
absolute cleanup and relative binding use cases.
Fixes: https://github.com/cirruslabs/tart/issues/1220
|
||
|---|---|---|
| .. | ||
| tart | ||