edf2csv 0.7.254 → 0.7.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/convert/run.js +3 -3
- package/dist/convert/run.js.map +1 -1
- package/dist/edf/header.js +1 -2
- package/dist/edf/header.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -583,7 +583,7 @@ export async function main(argv) {
|
|
|
583
583
|
clause: there is no output to say was still written.
|
|
584
584
|
*/
|
|
585
585
|
if (strict && warnings > 0) {
|
|
586
|
-
process.stderr.write(`\n${wrap(`--strict: ${warnings
|
|
586
|
+
process.stderr.write(`\n${wrap(`--strict: ${counted(warnings, 'warning')} raised, so this run is ` +
|
|
587
587
|
`reported as a failure. Nothing was written either way, since --info converts nothing.`)}\n`);
|
|
588
588
|
return EXIT_ERROR;
|
|
589
589
|
}
|
|
@@ -686,8 +686,8 @@ export async function main(argv) {
|
|
|
686
686
|
*/
|
|
687
687
|
const started = abandoned.filter((destination) => existsSync(destination));
|
|
688
688
|
const untouched = abandoned.filter((destination) => !existsSync(destination));
|
|
689
|
-
process.stderr.write(`\ninterrupted (${signal}): ${abandoned.length}
|
|
690
|
-
|
|
689
|
+
process.stderr.write(`\ninterrupted (${signal}): ${counted(abandoned.length, 'conversion')} ` +
|
|
690
|
+
`stopped part way through.\n` +
|
|
691
691
|
(started.length > 0
|
|
692
692
|
? detail(`Incomplete, and should not be used: ${listed(started.map(printable))}`)
|
|
693
693
|
: '') +
|
|
@@ -768,7 +768,7 @@ export async function main(argv) {
|
|
|
768
768
|
failures.push(EXIT_ERROR);
|
|
769
769
|
if (batch && !quiet && !asJson) {
|
|
770
770
|
const unread = unreadable.length > 0
|
|
771
|
-
? `; ${unreadable.length
|
|
771
|
+
? `; ${counted(unreadable.length, 'path')} could not be read`
|
|
772
772
|
: '';
|
|
773
773
|
const failed = converted < inputs.length ? `; ${inputs.length - converted} failed` : '';
|
|
774
774
|
process.stderr.write(`\nConverted ${converted} of ${counted(inputs.length, 'recording')}${failed}${unread}.\n`);
|
|
@@ -796,7 +796,7 @@ export async function main(argv) {
|
|
|
796
796
|
to do about it is the caller's decision, and they still have the files to inspect.
|
|
797
797
|
*/
|
|
798
798
|
if (strict && warnings > 0) {
|
|
799
|
-
process.stderr.write(`\n${wrap(`--strict: ${warnings
|
|
799
|
+
process.stderr.write(`\n${wrap(`--strict: ${counted(warnings, 'warning')} raised, so this run is ` +
|
|
800
800
|
`reported as a failure. The output was still written.`)}\n`);
|
|
801
801
|
return EXIT_ERROR;
|
|
802
802
|
}
|