feat(update): clean up flake inputs log
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
2c94bc9809
commit
1ae537b572
1 changed files with 8 additions and 2 deletions
|
@ -27,8 +27,14 @@ export const updateFlakeInputs = () => {
|
||||||
// Shorten git revs to help readability
|
// Shorten git revs to help readability
|
||||||
.split('\n')
|
.split('\n')
|
||||||
.map((l) => l
|
.map((l) => l
|
||||||
.replace(/.{33}\?narHash=sha256[^']*/, '')
|
.replace(
|
||||||
.replace(/&rev=(.{7})[^'&]*/, (_, backref) => `&rev=${backref}`))
|
/\/(.{40})\?narHash=sha256[^']*(.*)/,
|
||||||
|
(_, backref1, backref2) => `${backref2} rev: ${backref1}`,
|
||||||
|
)
|
||||||
|
.replace(
|
||||||
|
/\?ref.*&rev=(.{40})[^'&]*(.*)/,
|
||||||
|
(_, backref1, backref2) => `${backref2} rev: ${backref1}`,
|
||||||
|
))
|
||||||
.join('\n');
|
.join('\n');
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
|
Loading…
Reference in a new issue