refactor(update): properly separate code

This commit is contained in:
matt1432 2025-04-16 10:44:57 -04:00
parent 81b61228e0
commit a93ec6ad3f
8 changed files with 53 additions and 52 deletions
apps/update-sources/src

View file

@ -5,7 +5,7 @@ import { styleText } from 'node:util';
/* Constants */
const FLAKE = process.env.FLAKE;
export const updateFlakeInputs = () => {
export default () => {
console.log(styleText(['magenta'], '\nUpdating flake inputs:\n'));
const output = spawnSync(