fix(pin-inputs): join strings with empty string

This commit is contained in:
matt1432 2025-02-01 13:50:37 -05:00
parent 72cf10cc67
commit 0242576069
2 changed files with 6 additions and 6 deletions
apps
config
pin-inputs/src

View file

@ -9,7 +9,7 @@
"version": "0.0.0", "version": "0.0.0",
"devDependencies": { "devDependencies": {
"@eslint/js": "9.19.0", "@eslint/js": "9.19.0",
"@stylistic/eslint-plugin": "3.0.0", "@stylistic/eslint-plugin": "3.0.1",
"eslint": "9.19.0", "eslint": "9.19.0",
"eslint-plugin-jsdoc": "50.6.3", "eslint-plugin-jsdoc": "50.6.3",
"jiti": "2.4.2", "jiti": "2.4.2",
@ -324,13 +324,13 @@
} }
}, },
"node_modules/@stylistic/eslint-plugin": { "node_modules/@stylistic/eslint-plugin": {
"version": "3.0.0", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@stylistic/eslint-plugin/-/eslint-plugin-3.0.1.tgz",
"integrity": "sha512-9GJI6iBtGjOqSsyCKUvE6Vn7qDT52hbQaoq/SwxH6A1bciymZfvBfHIIrD3E7Koi2sjzOa/MNQ2XOguHtVJOyw==", "integrity": "sha512-rQ3tcT5N2cynofJfbjUsnL4seoewTaOVBLyUEwtNldo7iNMPo3h/GUQk+Cl3iHEWwRxjq2wuH6q0FufQrbVL1A==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/utils": "8.13.0", "@typescript-eslint/utils": "^8.13.0",
"eslint-visitor-keys": "^4.2.0", "eslint-visitor-keys": "^4.2.0",
"espree": "^10.3.0", "espree": "^10.3.0",
"estraverse": "^5.3.0", "estraverse": "^5.3.0",

View file

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