bob icon indicating copy to clipboard operation
bob copied to clipboard

Properly handle possible `/` at the end of the disk path in `cluster.yaml`

Open ikopylov opened this issue 1 year ago • 0 comments
trafficstars

Right now regular string concatenation is used to build the path to the alien directory (https://github.com/qoollo/bob/blob/master/bob-backend/src/pearl/settings.rs#L32). This result in double / symbols. Path::join should be used instead.

The same thing happens here: https://github.com/qoollo/bob/blob/master/bob-backend/src/pearl/settings.rs#L267

Probably, there are more places containing similar mistake. All places should be found and fixed

ikopylov avatar Jun 26 '24 13:06 ikopylov