Skip to content

Commit 795ff4b

Browse files
authored
feat: add a hint to skip cache with "--local" flag (#672)
* feat: add a hint to skip cache with --local flag * changeset
1 parent e4349d2 commit 795ff4b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/orange-lines-hammer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rock-js/tools': patch
3+
---
4+
5+
feat: add a hint to skip cache with "--local" flag

packages/tools/src/lib/build-cache/localBuildCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function getLocalBuildCacheBinaryPath(
5757
const localBuild = queryLocalBuildCache(artifactName);
5858
if (localBuild) {
5959
logger.log(
60-
`Found build cache for: ${color.bold(color.blue(localBuild.name))}`,
60+
`Found build cache for: ${color.bold(color.blue(localBuild.name))} ${color.dim('(Skip cache with "--local" flag)')}.`,
6161
);
6262
return localBuild.binaryPath;
6363
}

0 commit comments

Comments
 (0)