Fix key store path in exception message
This commit is contained in:
@@ -44,7 +44,7 @@ class KeyStore {
|
||||
$dir = \dirname($file);
|
||||
|
||||
if (!(yield File\isdir($dir)) && !(yield File\mkdir($dir, 0644, true)) && !(yield File\isdir($dir))) {
|
||||
throw new FilesystemException("Couldn't create key directory: '{$path}'");
|
||||
throw new FilesystemException("Couldn't create key directory: '{$dir}'");
|
||||
}
|
||||
|
||||
yield File\put($file, $key->toPem());
|
||||
|
||||
Reference in New Issue
Block a user