diff options
| author | John Newbery <[email protected]> | 2019-10-31 11:53:46 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-10-31 11:53:46 -0400 |
| commit | 60582d6060542c1e3a23141ea825e36818fbbd54 (patch) | |
| tree | c87ab4c9eec5d8d9ba853b420e265df20268123d /src/script/script_error.cpp | |
| parent | Merge #17308: nsis: Write to correct filename in first place (diff) | |
| download | discoin-60582d6060542c1e3a23141ea825e36818fbbd54.tar.xz discoin-60582d6060542c1e3a23141ea825e36818fbbd54.zip | |
[linter] Strip trailing / in path for git-subtree-check
git-subtree-check fails if the directory is given with a trailing slash,
eg:
```
> test/lint/git-subtree-check.sh src/univalue/
ERROR: src/univalue/ is not a subtree
```
Shell autocompletes will add the trailing slash when autofilling the
path name, which will therefore cause the script to fail.
Just ignore any trailing slash.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions