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

@ -6,7 +6,7 @@ import { styleText } from 'node:util';
/* Constants */
const FLAKE = process.env.FLAKE;
export const updateFirefoxAddons = () => {
export default () => {
console.log(styleText(['magenta'], '\nUpdating firefox addons using mozilla-addons-to-nix:\n'));
const DIR = `${FLAKE}/scopedPackages/firefox-addons`;