rip-lang 3.10.1 → 3.10.2
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/package.json +1 -1
- package/src/typecheck.js +4 -1
package/package.json
CHANGED
package/src/typecheck.js
CHANGED
|
@@ -362,7 +362,10 @@ export async function runCheck(targetDir, opts = {}) {
|
|
|
362
362
|
const totalFiles = compiled.size;
|
|
363
363
|
|
|
364
364
|
if (totalErrors === 0 && totalWarnings === 0) {
|
|
365
|
-
|
|
365
|
+
const summary = typedFiles > 0
|
|
366
|
+
? `${typedFiles} typed file${typedFiles !== 1 ? 's' : ''} checked, no errors found`
|
|
367
|
+
: `${totalFiles} file${totalFiles !== 1 ? 's' : ''} found, none have type annotations`;
|
|
368
|
+
console.log(`\n${bold('✓')} ${summary}`);
|
|
366
369
|
if (compileErrors > 0) {
|
|
367
370
|
console.log(dim(` (${compileErrors} file${compileErrors !== 1 ? 's' : ''} had compile errors)`));
|
|
368
371
|
}
|