File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ public function __construct(InputDefinition $definition = NULL)
22
22
if (isset ($ _SERVER ['argv ' ][1 ])) {
23
23
$ filename = $ this ->normalizePath ($ _SERVER ['argv ' ][1 ]);
24
24
$ cwd = $ this ->normalizePath (getcwd ()) . '/ ' ;
25
-
25
+
26
26
// IDE always provides absolute path but Codeception only accepts relative path without leading "./".
27
27
// If path is not absolute, make it that way and call realpath to remove "./".
28
28
if (strpos ($ filename , $ cwd ) !== 0 && file_exists ($ cwd . $ filename )) {
29
29
$ filename = $ this ->normalizePath (realpath ($ cwd . $ filename ));
30
30
}
31
-
31
+
32
32
if (!file_exists ($ filename )) {
33
33
echo 'File " ' . $ filename . '" could not be found. ' ;
34
34
exit ;
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ public function grabService($service)
109
109
$ this ->fail ($ e ->getMessage ());
110
110
}
111
111
}
112
-
112
+
113
113
public function seeRedirectTo ($ url )
114
114
{
115
115
$ response = $ this ->container ->getByType ('Nette\Http\IResponse ' );
You can’t perform that action at this time.
0 commit comments