From cdba9d0c013025f7db114df73d538c56738f441e Mon Sep 17 00:00:00 2001 From: Nathaniel Taintor Date: Fri, 14 Apr 2017 15:32:46 -0700 Subject: [PATCH] Remove check for www/vvv-hosts file Allows the check which validates that a directory is a VVV directory to pass even if this file is not in the expected place. --- lib/base-methods/vagrant.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/base-methods/vagrant.js b/lib/base-methods/vagrant.js index 49c1f05..1c953f4 100644 --- a/lib/base-methods/vagrant.js +++ b/lib/base-methods/vagrant.js @@ -127,7 +127,6 @@ function _isVVVDir( dir ) { try { fs.lstatSync( path.join( dir, 'Vagrantfile' ) ); fs.lstatSync( path.join( dir, 'www' ) ); - fs.lstatSync( path.join( dir, 'www', 'vvv-hosts' ) ); return true; } catch( e ) { return false;