Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Incorrect file copied message (nvim-telescope#37)
When copying a file outside the original directory (cwd) the file is not copied, this is expected, but the user still gets the following message: [file] has been copied! This is incorrect, this commit fixes the issue by verifying the result status from the copy operation and prints the appropriate message '[file] has been copied!' or '[file] has not been copied' depending on whether the operation succeeded or not.
- Loading branch information