fix(pin-inputs): remove this code from rg FIXME output
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-01-27 21:12:30 -05:00
parent 6f5a692ea2
commit 12241b2b72

View file

@ -48,9 +48,11 @@ INPUTS.forEach((input) => {
const inputsFile = `${FLAKE}/inputs/default.nix`;
const rev = getCurrentRev(input);
const msg = ['FIX', 'ME'].join();
replaceInFile(
new RegExp(`(\\n[ ]*)${input} =.*\\n.*\\n.*`),
`$&\n$1 # FIXME: $1 rev = "${rev}";`,
`$&\n$1 # ${msg}: $1 rev = "${rev}";`,
inputsFile,
);
}