Skip to content

Commit

Permalink
Fix importmap install line
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysm committed Nov 26, 2023
1 parent 3f06544 commit 87d2132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Concerns/InstallsForImportmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function publishJsFilesForImportmaps()
$importLine = trim(File::get($libsIndexSourceFile));

if (! str_contains(File::get($libsIndexFile), $importLine)) {
File::append($libsIndexFile, $importLine.PHP_EOL);
File::append($libsIndexFile, PHP_EOL.$importLine.PHP_EOL);
}
} else {
File::copy($libsIndexSourceFile, $libsIndexFile);
Expand Down

0 comments on commit 87d2132

Please sign in to comment.