Skip to content

Commit f4e629c

Browse files
Fixed paths
1 parent 6e9748a commit f4e629c

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@ jobs:
8383

8484
- name: Show version
8585
run: php builds/iconify --version
86-
87-
- name: Tests for Linux
88-
if: ${{ matrix.os == 'ubuntu' }}
89-
run: sudo php builds/iconify test
90-
91-
- name: Tests for Windows
92-
if: ${{ matrix.os == 'windows' }}
93-
run: php builds/iconify test
9486

9587
push:
9688
runs-on: ubuntu-latest

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
/.fleet
12
/.idea
23
/.vagrant
34
/.vscode
5+
46
/tests/temp
57
/vendor
68

app/Commands/PublishCommand.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,9 @@ protected function ide(): array
106106

107107
protected function getPath(): string
108108
{
109-
if ($this->hasOption('path')) {
110-
return $this->option('path');
111-
}
112-
113-
return realpath('.');
109+
return realpath(
110+
$this->option('path') ?: '.'
111+
);
114112
}
115113

116114
protected function getFilesystem(): Filesystem

0 commit comments

Comments
 (0)