@evanpurkhiser/tooling-personal 1.45.0 → 1.46.0
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.
|
@@ -33,7 +33,14 @@ async function suggestAssignees(argv) {
|
|
|
33
33
|
const { diff, rev, label } = await getDiffSource(argv.commit);
|
|
34
34
|
const fileHunks = (0, blame_1.parseDiff)(diff);
|
|
35
35
|
if (fileHunks.length === 0) {
|
|
36
|
-
|
|
36
|
+
console.error(`No files with prior history in ${label}`);
|
|
37
|
+
if (argv.format === 'slugs') {
|
|
38
|
+
console.log('');
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
console.log(JSON.stringify({ source: label, fileTotal: 0, hunkTotal: 0, suggestions: [], unresolved: [] }, null, 2));
|
|
42
|
+
}
|
|
43
|
+
return;
|
|
37
44
|
}
|
|
38
45
|
// 02. Blame every file + resolve the repo's assignable user directory
|
|
39
46
|
const [blame, resolver] = await Promise.all([
|
package/package.json
CHANGED