Skip to content

Instantly share code, notes, and snippets.

@Jordan-Hall
Created September 27, 2024 13:19
Show Gist options
  • Save Jordan-Hall/5743969938cefc4fa462c86c96b5c3d0 to your computer and use it in GitHub Desktop.
Save Jordan-Hall/5743969938cefc4fa462c86c96b5c3d0 to your computer and use it in GitHub Desktop.
Community remote cache support
diff --git a/node_modules/nx/src/tasks-runner/cache.js b/node_modules/nx/src/tasks-runner/cache.js
index 36a7089..a1b7809 100644
--- a/node_modules/nx/src/tasks-runner/cache.js
+++ b/node_modules/nx/src/tasks-runner/cache.js
@@ -110,7 +110,8 @@ class DbCache {
}
}
else {
- return ((await this.getPowerpackS3Cache()) ??
+ return ((await this.getPowerpackCache(nxJson.communityCache)) ??
+ (await this.getPowerpackS3Cache()) ??
(await this.getPowerpackSharedCache()) ??
null);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment