Correction the function getComposerInformation in SvnDriver.php. (#10681)

Sometimes the getBaseComposerInformation had an exception so we write in the cache a string value but the funtion want to return null or Array value.
Now we write a empty string value if it happened
main
nargil07 2 years ago committed by GitHub
parent 40425795f7
commit 986a260d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,7 +148,7 @@ class SvnDriver extends VcsDriver
throw $e; throw $e;
} }
// remember a not-existent composer.json // remember a not-existent composer.json
$composer = ''; $composer = [];
} }
if ($this->shouldCache($identifier)) { if ($this->shouldCache($identifier)) {

Loading…
Cancel
Save