From 9b534082caee0cf760aaf055583a46dd693e67e8 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Mon, 5 Dec 2016 06:11:39 -0800 Subject: [PATCH] Fix a bug in determining if yarn is available Reviewed By: mkonicek Differential Revision: D4276707 Ninja: OSS fbshipit-source-id: 79cb2942f27179681d1a8ebfd3bc5a97f544f7af --- local-cli/util/yarn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/local-cli/util/yarn.js b/local-cli/util/yarn.js index 6815353a84e4ad..86b0d3f5b354a6 100644 --- a/local-cli/util/yarn.js +++ b/local-cli/util/yarn.js @@ -8,6 +8,7 @@ */ 'use strict'; +const execSync = require('child_process').execSync; const fs = require('fs'); const path = require('path'); const semver = require('semver');