use pkg.str in sort.ts output

This commit is contained in:
Max Howell 2022-09-22 10:04:39 -04:00
parent 52d265b20d
commit d34355841d

View file

@ -35,7 +35,7 @@ const wet = await hydrate(dry, async (pkg, dry) => {
const gas = wet.dry.map(x => x.project)
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=pre-install::${pre.join(" ")}`)
} else if (flags.json) {