diff --git a/Commands/init.js b/Commands/init.js index e6e080d..38e0da0 100644 --- a/Commands/init.js +++ b/Commands/init.js @@ -23,7 +23,7 @@ var askLaravelFolder = function askLaravelFolder() { var checkArtisan = function checkArtisan(cmdRes) { return new Promise(function promiseCheckArtisan(resolve, reject) { - var test = cmdRes.match(/\s*Laravel\s+Framework\s+(version)?\s+(.*)/); + var test = cmdRes.match(/\s*Laravel\s+Framework\s+(version)?\s*(.*)/); if (test) { resolve(test); return;