This commit is contained in:
Brian Zalewski 2024-05-04 09:28:17 +00:00
parent c44cd67853
commit 861e8ce32f

View file

@ -242,11 +242,17 @@ async function bundleInstall(brews, casks, caskMap) {
log(`Installing packages via brew bundle`) log(`Installing packages via brew bundle`)
await $`brew bundle --file Brewfile` await $`brew bundle --file Brewfile`
log(`Finished installing via Brewfile`) log(`Finished installing via Brewfile`)
await createCaskLinks(caskMap)
} catch (e) { } catch (e) {
console.log('Error:', e) console.log('Error:', e)
log(`Error occurred while installing via Brewfile`) log(`Error occurred while installing via Brewfile`)
} }
try {
await createCaskLinks(caskMap)
} catch (e) {
console.log('Error:', e)
log(`Error occurred while creating cask bin links`)
}
} }
async function forEachSeries(iterable) { async function forEachSeries(iterable) {