Skip to content

Commit

Permalink
fixed regex checkArtisan function
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanRubachonok committed Apr 18, 2019
1 parent ddbddc6 commit c4067d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c4067d9

Please sign in to comment.