Skip to content
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
11 changes: 11 additions & 0 deletions change/change-50d5ec94-8c4b-470b-be07-7bebaea6503f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"type": "patch",
"comment": "If target has no outputs set, and no global outputGlob set, assume no outputs",
"packageName": "@lage-run/cache",
"email": "dobes@formative.com",
"dependentChangeType": "patch"
}
]
}
2 changes: 1 addition & 1 deletion packages/cache/src/providers/BackfillCacheProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class BackfillCacheProvider implements CacheProvider {
const cacheStorage = this.getTargetCacheStorageProvider(target.cwd, hash);

try {
await cacheStorage.put(hash, target.outputs ?? this.options.cacheOptions.outputGlob ?? ["**/*"]);
await cacheStorage.put(hash, target.outputs ?? this.options.cacheOptions.outputGlob ?? []);
} catch (error) {
let message;

Expand Down