File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -294,9 +294,9 @@ public static function getSdkVersion() : string
294
294
return file_get_contents ($ path );
295
295
}/*}}}*/
296
296
297
- public static function getDepsLocalPath (bool $ reset = false ) : ?string
297
+ public static function getDepsLocalPath () : ?string
298
298
{/*{{{*/
299
- if (NULL == self ::$ depsLocalPath || $ reset ) {
299
+ if (NULL == self ::$ depsLocalPath ) {
300
300
if (file_exists ("Makefile " )) {
301
301
$ s = file_get_contents ("Makefile " );
302
302
@@ -308,14 +308,14 @@ public static function getDepsLocalPath(bool $reset = false) : ?string
308
308
}
309
309
}
310
310
311
- if (NULL == self ::$ depsLocalPath || $ reset ) {
311
+ if (NULL == self ::$ depsLocalPath ) {
312
312
$ tmp = dirname (getcwd ()) . DIRECTORY_SEPARATOR . "deps " ;
313
313
if (is_dir ($ tmp )) {
314
314
self ::setDepsLocalPath ($ tmp );
315
315
}
316
316
}
317
317
318
- if (NULL == self ::$ depsLocalPath || $ reset ) {
318
+ if (NULL == self ::$ depsLocalPath ) {
319
319
$ tmp = realpath ("../deps " );
320
320
if (is_dir ($ tmp )) {
321
321
self ::setDepsLocalPath ($ tmp );
You can’t perform that action at this time.
0 commit comments