Skip to content

Commit

Permalink
Merge pull request #17 from fleetbase/dev-main
Browse files Browse the repository at this point in the history
patch seeding output
  • Loading branch information
roncodes authored Jul 16, 2023
2 parents 0a34279 + 1938870 commit 39768d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fleetbase/core-api",
"version": "1.1.3-alpha",
"version": "1.1.4-alpha",
"description": "Core Framework and Resources for Fleetbase API",
"keywords": [
"fleetbase",
Expand Down
4 changes: 3 additions & 1 deletion seeds/PermissionSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ public function run()
*/
public function output(string $line = ''): void
{
echo $line . PHP_EOL;
if (app()->runningInConsole()) {
echo $line . PHP_EOL;
}
}
}
2 changes: 1 addition & 1 deletion src/Support/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ public static function findPackageNamespace($path = null): ?string
public static function findComposerPackagesWithKeyword($keyword = 'fleetbase-extension')
{
// Path to composer.lock file.
$filePath = './composer.lock';
$filePath = base_path('composer.lock');

// Check if file exists.
if (!file_exists($filePath)) {
Expand Down

0 comments on commit 39768d8

Please sign in to comment.