influxdb: config page: typescript-fix for strict-mode (#40465)

This commit is contained in:
Gábor Farkas authored and GitHub committed 2021-10-15 11:29:41 +02:00
1 parent 374041148d
commit 8e070d6858
2 files changed
+3 -3

No files matched your search

@@ -8,8 +8,8 @@ export enum InfluxVersion {
export interface InfluxOptions extends DataSourceJsonData {
version?: InfluxVersion;
timeInterval: string;
httpMode: string;
timeInterval?: string;
httpMode?: string;
// With Flux
organization?: string;
+1 -1
View File
@@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=24
ERROR_COUNT_LIMIT=19
ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')"
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then