mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
Use native Promise in local-cli
Summary: Switch to native promises in the local cli Reviewed By: davidaurelio Differential Revision: D4213142 fbshipit-source-id: aff99f8bb3dc237cecc852cdb09dee9b49b05753
This commit is contained in:
committed by
Facebook Github Bot
parent
e1df3c8782
commit
812591ac42
@@ -1,10 +1,17 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
const chalk = require('chalk');
|
||||
const child_process = require('child_process');
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
const Promise = require('promise');
|
||||
|
||||
/**
|
||||
* Starts iOS device syslog tail
|
||||
|
||||
Reference in New Issue
Block a user