Skip to content

Commit

Permalink
Proper plural support because why not
Browse files Browse the repository at this point in the history
  • Loading branch information
bearfriend committed Jun 14, 2023
1 parent a832824 commit 7782a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/migrate-goldens.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ await Promise.all(dirs.map(async dir => {
return rename(dir, join(base, normalize(newSuffix)));
}));

stdout.write(`\nMigrated ${files.length} goldens found in ${dirs.length} test directories\n`);
stdout.write(`\nMigrated ${files.length} ${files.length === 1 ? 'golden' : 'goldens'} found in ${dirs.length} test ${dirs.length === 1 ? 'directory' : 'directories'}\n`);

0 comments on commit 7782a0a

Please sign in to comment.