Closed kevinfodness closed 2 months ago
Hi @kevinfodness š
Instead of adding --saveErrorLog
flag, I think it is better to make sure that the --force
flag bypass the prompt in question. I've raised a PR for that: https://github.com/Automattic/vip-cli/pull/2011
Many thanks for working on this PR, @kevinfodness š
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Description
Adds a
--saveErrorLog
flag to theimport media
command to allow the user to bypass the confirmation prompt for saving an error log if it is generated.Fixes #2004
Pull request checklist
New release checklist
Steps to Test
Note: I was not able to get the
vip
command to run locally in my tests - it was erroring withError: spawn vip.js-import ENOENT
and I'm not sure how to get around this. Hopefully an Automattician can help to test this change or provide me with instructions on how to test locally.npm run build
./dist/bin/vip.js import media
with the new--saveErrorLog
flag set targeting an archive that contains a file that will error.