upload-sourcemaps uploads files from outside the specified directory
Using @sentry/cli 1.47.1
We are uploading our sourcemaps to Sentry using the cli. We have noticed that files outside the directory specified on the command line are being uploaded. I am unable to locate anything in your documentation that explains why this might be occurring. Digging through existing issues, some people have hinted that files which are referenced by the sourcemaps in the specified directory would be uploaded as well. Is this the case? If so, could this be documented? If not, how would I stop Sentry from going outside the specified directory in looking for files? I understand that some switches were added to ignore files/directories, but that appears to be intended to be for files/directories that are in the specified directory which are to be ignored.
By adding --log-level=debug to the upload-sourcemaps command we were able to determine that the files we were questioning were in fact within the specified directory at the time of upload, so everything seems to be working as expected. Closing issue.