From af15faa3974e1ea03bf33e36a121c18dad34281a Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Thu, 25 Jan 2018 08:38:20 -0800 Subject: [PATCH] Add shebang to metro cli Summary: To be able to run the metro CLI directly (for example via `yarn run`) we need to add the shebang pointing to the nodejs binary Reviewed By: davidaurelio Differential Revision: D6808095 fbshipit-source-id: 89628c07a92266432a404b6bc26eaa412d7859b9 --- packages/metro/src/cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/metro/src/cli.js b/packages/metro/src/cli.js index dd55ba40..50a1be9d 100755 --- a/packages/metro/src/cli.js +++ b/packages/metro/src/cli.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + /** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved.