vps-work 2.1.0 → 2.1.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/dist/vps-work.cjs +5 -2
- package/package.json +1 -1
package/dist/vps-work.cjs
CHANGED
|
@@ -55700,7 +55700,10 @@ function printUsersPlain(users) {
|
|
|
55700
55700
|
byDepartment.set(path3, rows2);
|
|
55701
55701
|
}
|
|
55702
55702
|
for (const [path3, rows2] of [...byDepartment.entries()].sort(([a], [b]) => a.localeCompare(b, "zh-CN"))) {
|
|
55703
|
-
const names = rows2.map((user) =>
|
|
55703
|
+
const names = rows2.map((user) => {
|
|
55704
|
+
const name = user.employee_name || user.login;
|
|
55705
|
+
return user.job_title ? `${name}\uFF08${user.job_title}\uFF09` : name;
|
|
55706
|
+
}).sort((a, b) => a.localeCompare(b, "zh-CN"));
|
|
55704
55707
|
console.log(`- ${path3}\uFF08${rows2.length}\uFF09\uFF1A${names.join("\u3001")}`);
|
|
55705
55708
|
}
|
|
55706
55709
|
}
|
|
@@ -64267,7 +64270,7 @@ function rewriteLongFlag(tok) {
|
|
|
64267
64270
|
}
|
|
64268
64271
|
|
|
64269
64272
|
// src/bin/vps-work.ts
|
|
64270
|
-
var PKG_VERSION = "2.1.
|
|
64273
|
+
var PKG_VERSION = "2.1.2" ? "2.1.2" : "0.0.0-dev";
|
|
64271
64274
|
function smartFlagSuggest(flag, candidates) {
|
|
64272
64275
|
if (!flag.startsWith("--") || flag.length < 4) return "";
|
|
64273
64276
|
const word = flag.slice(2);
|