mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
5196ad102d
Reviewed By: @mkonicek Differential Revision: D2526310 fb-gh-sync-id: 1c04f56073dc5b393a36b258c039fdfd85ab83a2
22 lines
681 B
JavaScript
22 lines
681 B
JavaScript
/**
|
|
* 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';
|
|
|
|
require('../packager/babelRegisterOnly')([/private-cli\/src/]);
|
|
|
|
var cli = require('./src/cli');
|
|
var fs = require('fs');
|
|
var gracefulFs = require('graceful-fs');
|
|
|
|
// graceful-fs helps on getting an error when we run out of file
|
|
// descriptors. When that happens it will enqueue the operation and retry it.
|
|
gracefulFs.gracefulify(fs);
|
|
|
|
module.exports = cli;
|