Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use ES-Module memoizee fork #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading