Skip to content

Commit

Permalink
Fix regex pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Jul 2, 2022
1 parent 5d74ef1 commit c769ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/TurboInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private function publishJsFiles()
File::put(
$appJsFile = resource_path('js/app.js'),
preg_replace(
'/(.*[\'"](?:\.\/)?bootstrap[\'"])?;?)/',
'/(.*[\'"](?:\.\/)?bootstrap[\'"]\)?;?)/',
<<<JS
\\1
{$imports}
Expand Down

0 comments on commit c769ecb

Please sign in to comment.