Remove socket interface from dependencies command

Reviewed By: davidaurelio

Differential Revision: D3136438

fb-gh-sync-id: 51fce2caf60fdf32a8cba180c79b1996834cda6e
fbshipit-source-id: 51fce2caf60fdf32a8cba180c79b1996834cda6e
This commit is contained in:
Sam Swarr 2016-04-11 09:23:06 -07:00 committed by Facebook Github Bot 4
parent f9a9cd6f25
commit 1d9df442a4
1 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,15 @@ exports.getDependencies = function(options, bundleOptions) {
});
};
exports.getOrderedDependencyPaths = function(options, bundleOptions) {
var server = createNonPersistentServer(options);
return server.getOrderedDependencyPaths(bundleOptions)
.then(function(paths) {
server.end();
return paths;
});
};
exports.createClientFor = function(options) {
if (options.verbose) {
enableDebug();