Skip to content

Commit cbf6fc2

Browse files
rafecafacebook-github-bot
authored andcommitted
Do not recompute the transform cache key every time
Reviewed By: mjesun Differential Revision: D10461595 fbshipit-source-id: 15101738b703f501ee67da4727432a1236a2d277
1 parent 8e2992a commit cbf6fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/metro/src/DeltaBundler/WorkerFarm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class WorkerFarm {
8484

8585
return {
8686
result: data.result,
87-
sha1: Buffer.from(data.sha1, 'hex'),
87+
sha1: data.sha1,
8888
};
8989
} catch (err) {
9090
if (err.loc) {

0 commit comments

Comments
 (0)