use pkg.str in sort.ts output

This commit is contained in:
Max Howell 2022-09-22 10:04:39 -04:00
parent 539cca9158
commit 0d38f783fb

View file

@ -35,7 +35,7 @@ const wet = await hydrate(dry, async (pkg, dry) => {
const gas = wet.dry.map(x => x.project) const gas = wet.dry.map(x => x.project)
if (Deno.env.get("GITHUB_ACTIONS")) { if (Deno.env.get("GITHUB_ACTIONS")) {
const pre = wet.wet.map(x=>x.project) const pre = wet.wet.map(pkg.str)
console.log(`::set-output name=pkgs::${gas.join(" ")}`) console.log(`::set-output name=pkgs::${gas.join(" ")}`)
console.log(`::set-output name=pre-install::${pre.join(" ")}`) console.log(`::set-output name=pre-install::${pre.join(" ")}`)
} else if (flags.json) { } else if (flags.json) {