fix(pin-inputs): remove this code from rg FIXME output
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
6f5a692ea2
commit
12241b2b72
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue