Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew committed May 11, 2024
1 parent 1e2599c commit c998da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -17,7 +17,7 @@ Do a dry run so we can see the state of the cache

Get the hash of the my-app#build task, so we can inspect the cache
$ HASH=$(cat dry.json | jq -r '.tasks | map(select(.taskId == "my-app#build")) | .[0].hash')
$ duration=$(cat "node_modules/.turbo/cache/$HASH-meta.json" | jq .duration)
$ duration=$(cat ".turbo/cache/$HASH-meta.json" | jq .duration)
check that it exists
$ echo $duration
[0-9]+ (re)
Expand Down
Expand Up @@ -51,7 +51,7 @@ This test covers:
$ HASH=$(cat tmp.log | grep -E "cached:cached-task-2.* executing .*" | awk '{print $6}')
$ echo $HASH
[a-z0-9]{16} (re)
$ test -f $TARGET_DIR/.cache/turbo/$HASH.tar.zst;
$ test -f $TARGET_DIR/.turbo/cache/$HASH.tar.zst;
[1]

no `cache` config in root, cache:false in workspace
Expand Down

0 comments on commit c998da4

Please sign in to comment.