Browse Source

do not print table heading when no authors found

master
Feross Aboukhadijeh 7 years ago
parent
commit
1887968781
  1. 4
      src/cmd.js

4
src/cmd.js

@ -164,7 +164,9 @@ async function runThanks (cwd, promptToOpen) {
)
}
printTable(authorsSeeking, pkgNamesSeeking, authorsPkgNames, directPkgNames)
if (authorsSeeking.length > 0 || pkgNamesSeeking.length > 0) {
printTable(authorsSeeking, pkgNamesSeeking, authorsPkgNames, directPkgNames)
}
if (donateLinks.length && promptToOpen) {
const prompt = new PromptConfirm(

Loading…
Cancel
Save