Skip to content

Commit

Permalink
fix: use ES-Module memoizee fork
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 5, 2024
1 parent 57e4019 commit b17afb8
Show file tree
Hide file tree
Showing 23 changed files with 94 additions and 169 deletions.
17 changes: 0 additions & 17 deletions dist/legacy/gcc_matcher.json

This file was deleted.

17 changes: 0 additions & 17 deletions dist/legacy/llvm_matcher.json

This file was deleted.

18 changes: 0 additions & 18 deletions dist/legacy/msvc_matcher.json

This file was deleted.

18 changes: 0 additions & 18 deletions dist/legacy/python_matcher.json

This file was deleted.

2 changes: 0 additions & 2 deletions dist/modern/assets/actions_python-mhNRejTS.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions dist/modern/assets/hdi-CLiriP2M.mjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/modern/assets/hdi-CLiriP2M.mjs.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/modern/assets/proxy-agent-CtreyBpw.mjs

This file was deleted.

1 change: 0 additions & 1 deletion dist/modern/assets/proxy-agent-CtreyBpw.mjs.map

This file was deleted.

17 changes: 0 additions & 17 deletions dist/modern/gcc_matcher.json

This file was deleted.

17 changes: 0 additions & 17 deletions dist/modern/llvm_matcher.json

This file was deleted.

18 changes: 0 additions & 18 deletions dist/modern/msvc_matcher.json

This file was deleted.

18 changes: 0 additions & 18 deletions dist/modern/python_matcher.json

This file was deleted.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
"pnpm": {
"patchedDependencies": {
"@actions/[email protected]": "patches/@[email protected]"
},
"overrides": {
"memoizee": "https://github.com/aminya/memoizee#fa36fc6f8bf3c8d3160f4731826c9db5b7d5e632"
}
}
}
2 changes: 1 addition & 1 deletion packages/envosman/src/rc-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function sourceRCInRc_(options: RcOptions) {
/**
* handles adding conditions to source rc file from .bashrc and .profile
*/
export const sourceRCInRc = memoize(sourceRCInRc_, { promise: true })
export const sourceRCInRc = await memoize(sourceRCInRc_, { promise: true })

async function addRCHeader(options: RcOptions) {
// a variable that prevents source rc from being called from .bashrc and .profile
Expand Down
2 changes: 1 addition & 1 deletion packages/setup-apt/src/init-apt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export async function initApt(apt: string) {
}

/** Install gnupg and certificates (usually missing from docker containers) (memoized) */
export const initAptMemoized = memoize(initApt, { promise: true })
export const initAptMemoized = await memoize(initApt, { promise: true })
2 changes: 1 addition & 1 deletion packages/setup-apt/src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ export function updateAptRepos(apt: string = getApt()) {
* Update the apt repositories (memoized)
* @param apt The apt command to use (optional)
*/
export const updateAptReposMemoized = memoize(updateAptRepos)
export const updateAptReposMemoized = await memoize(updateAptRepos)
Loading

0 comments on commit b17afb8

Please sign in to comment.