watchwhere 0.2.1 → 0.2.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/commands/search.ts +3 -3
package/package.json
CHANGED
package/src/commands/search.ts
CHANGED
|
@@ -131,15 +131,15 @@ async function displayItem(
|
|
|
131
131
|
const ads = regionData.ads ?? [];
|
|
132
132
|
if (ads.length > 0) {
|
|
133
133
|
console.log();
|
|
134
|
-
console.log(` ${pad(m.ads,
|
|
134
|
+
console.log(` ${pad(m.ads, 10)}${joinNames(ads)}`);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
const rent = regionData.rent ?? [];
|
|
138
138
|
const buy = regionData.buy ?? [];
|
|
139
139
|
if (rent.length > 0 || buy.length > 0) {
|
|
140
140
|
if (ads.length === 0) console.log();
|
|
141
|
-
if (rent.length > 0) console.log(` ${pad(m.rent,
|
|
142
|
-
if (buy.length > 0) console.log(` ${pad(m.buy,
|
|
141
|
+
if (rent.length > 0) console.log(` ${pad(m.rent, 10)}${joinNames(rent)}`);
|
|
142
|
+
if (buy.length > 0) console.log(` ${pad(m.buy, 10)}${joinNames(buy)}`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
if (regionData.link) {
|