From ceab4e37cde20b7ca0644e20fcda8ca041f87dc4 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Wed, 4 May 2016 14:45:01 +0200 Subject: [PATCH] style(prompt-schema): handle ESLint special cases --- packages/xo-server-auth-ldap/src/prompt-schema.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/xo-server-auth-ldap/src/prompt-schema.js b/packages/xo-server-auth-ldap/src/prompt-schema.js index 342bb79c4..0214c0a16 100644 --- a/packages/xo-server-auth-ldap/src/prompt-schema.js +++ b/packages/xo-server-auth-ldap/src/prompt-schema.js @@ -131,13 +131,13 @@ const promptByType = { } let n = schema.minItems || 0 - while (i < n) { + while (i < n) { // eslint-disable-line no-unmodified-loop-condition await promptItem() } n = schema.maxItems || Infinity while ( - i < n && + i < n && // eslint-disable-line no-unmodified-loop-condition await confirm('additional item?', { default: false })