mirror of
https://github.com/status-im/metro.git
synced 2025-01-11 03:25:51 +00:00
353bfba978
Summary: I think we don't really need to check the directory beforehand, the function to find asset will just return an empty array. As for the error message, I tried adding a require of an asset file somewhere, but due to the way the ResolutionRequest algo work, it generates a final error message that unrealted ("Directory ... does not exist", instead of the "asset does not exist"). I plan to revamp the way errors are handled such as the error message clearly identifies what file paths have been inspected. Reviewed By: davidaurelio Differential Revision: D5028118 fbshipit-source-id: 496472001c0a3d4192bfef4a0c8a0dc8a9a0fa82