mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #20952 from nextcloud/test/noid/fix-lint-exit-code
Respect exit code of lint run - changed from -exec to xargs as this exits properly
This commit is contained in:
commit
eec982e34b
2 changed files with 2 additions and 2 deletions
|
|
@ -22,6 +22,6 @@
|
|||
"scripts": {
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;"
|
||||
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,6 +70,6 @@ class AppConfig implements IAppConfig {
|
|||
}
|
||||
|
||||
public function deleteUserValue(string $userId, string $key): void {
|
||||
return $this->config->deleteUserValue($userId, $this->appName, $key);
|
||||
$this->config->deleteUserValue($userId, $this->appName, $key);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue