microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
966588ec9727654c4a2f065feb7333f61ae7ef85

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

js-patched/open-main.js

16lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3
4'use strict';
5var open = require('./index.js');
6
7module.exports = function(target, opts) {
8 if (process.env.REACT_DEBUGGER) {
9 if (opts.app) {
10 console.log("Debugger for React Native is configured. Skipping launch of " + opts.app);
11 }
12 return;
13 }
14
15 return open(target, opts);
16};
17