In attempting to automatically detect if a target in an arXiv manifest is a file or a directory, Expand-ArXivManifest will attempt to call (Get-Item $targetDir).PSIsContainer on each target. If the target directory does not exist, this will raise a superfluous error message. Importantly, it is entirely valid for the target directory to not exist; this is in fact the most common usecase for ancillary files which get placed in the anc/ directory of the final ZIP file. Thus, these error messages are entirely unneeded and should be suppressed.
I can't seem to reproduce this, so I suspect it was an out-of-date version using the old way of testing for directories in the arXiv manifest. Closing in lieu of a test case.
In attempting to automatically detect if a target in an arXiv manifest is a file or a directory,
Expand-ArXivManifest
will attempt to call(Get-Item $targetDir).PSIsContainer
on each target. If the target directory does not exist, this will raise a superfluous error message. Importantly, it is entirely valid for the target directory to not exist; this is in fact the most common usecase for ancillary files which get placed in theanc/
directory of the final ZIP file. Thus, these error messages are entirely unneeded and should be suppressed.