Better file support
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@ -51,7 +51,7 @@ class App
|
|||||||
])),
|
])),
|
||||||
'log' => Expect::string()->assert(
|
'log' => Expect::string()->assert(
|
||||||
function (string $path): bool {
|
function (string $path): bool {
|
||||||
return is_writable($path);
|
return touch($path);
|
||||||
}
|
}
|
||||||
)->required(),
|
)->required(),
|
||||||
'templates' => Expect::structure(['notify' => Expect::string()])
|
'templates' => Expect::structure(['notify' => Expect::string()])
|
||||||
|
Reference in New Issue
Block a user