Remove 'path' from plugins
Summary: 1. Add `path` replacement 1. Remove Node's path for all plugins but MobileBuildsPluginContainer (it is probably going to be moved to the server) Reviewed By: mweststrate Differential Revision: D32766327 fbshipit-source-id: e636f273842506e752b97cf1b28ce7ac51ce9a12
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6a4a867f74
commit
5610f8f058
@@ -8,12 +8,11 @@
|
||||
*/
|
||||
|
||||
import {readFile} from 'fs';
|
||||
import path from 'path';
|
||||
import {decodeBody, isTextual} from '../utils';
|
||||
import {ResponseInfo} from '../types';
|
||||
import {promisify} from 'util';
|
||||
import {readFileSync} from 'fs';
|
||||
import {TestUtils} from 'flipper-plugin';
|
||||
import {TestUtils, path} from 'flipper-plugin';
|
||||
import * as NetworkPlugin from '../index';
|
||||
|
||||
async function createMockResponse(
|
||||
|
||||
Reference in New Issue
Block a user