diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-09 15:04:51 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-09-10 09:01:26 +0200 |
commit | e17a6665177f6c62ce5a067d0738f11f33021a8f (patch) | |
tree | 78633b776a9c101a4879034328304a9cb434edee /apps/workflowengine/src/components/Checks/file.js | |
parent | 24aec9b9d27378ab19ebe028f46f26bcf0a1b901 (diff) | |
download | nextcloud-server-e17a6665177f6c62ce5a067d0738f11f33021a8f.tar.gz nextcloud-server-e17a6665177f6c62ce5a067d0738f11f33021a8f.zip |
Implement custom check components and fix linting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/components/Checks/file.js')
-rw-r--r-- | apps/workflowengine/src/components/Checks/file.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/src/components/Checks/file.js b/apps/workflowengine/src/components/Checks/file.js index 146ac045cee..816aaa73a65 100644 --- a/apps/workflowengine/src/components/Checks/file.js +++ b/apps/workflowengine/src/components/Checks/file.js @@ -20,8 +20,8 @@ * */ -import FileMimeType from './FileMimeType'; -import { stringValidator, validateIPv4, validateIPv6} from './../../helpers/validators' +import FileMimeType from './FileMimeType' +import { stringValidator, validateIPv4, validateIPv6 } from './../../helpers/validators' const FileChecks = [ { class: 'OCA\\WorkflowEngine\\Check\\FileName', @@ -77,7 +77,7 @@ const FileChecks = [ ], placeholder: (check) => { if (check.operator === 'matchesIPv6' || check.operator === '!matchesIPv6') { - return '::1/128'; + return '::1/128' } return '127.0.0.1/32' }, |