Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copying the config file sometimes fails with "rename /builds/go/src/github.com/zaquestion/lab/testdata--8119903081016337361/lab.toml /home/root /.config/lab/lab.toml: no such file or directory" because there is a new-line character in the output of 'whoami'. After applying a fix to remove the new-line character I also occasionally see issues with the patch for /home/root/.config/lab not existing. Remove new line characters in the ConfigFile() return string, and make sure the path for the file exists. Signed-off-by: Prarit Bhargava <[email protected]>
- Loading branch information