Skip to content

Commit 1035fd9

Browse files
committed
fixup!
1 parent e382866 commit 1035fd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cloudflare/src/cli/commands/populate-cache.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export function getCacheAssets(opts: BuildOptions): CacheAsset[] {
7878
const [buildId, ...keyParts] = relativePath.slice(0, -".cache".length).split("/");
7979

8080
if (!relativePath.endsWith(".cache") || buildId === undefined || keyParts.length === 0) {
81-
throw new Error(
82-
`Invalid path for a Cache Asset file: ${[relativePath, relativePath.substring(0, -".cache".length), buildId, keyParts]}`
83-
);
81+
throw new Error(`Invalid path for a Cache Asset file: ${relativePath}`);
8482
}
8583

8684
assets.push({

0 commit comments

Comments
 (0)