Fix linter error (#1271)

This commit is contained in:
Kenneth Geisshirt 2017-08-31 10:18:10 +02:00 committed by GitHub
parent b7a8bdcc49
commit 8d7eac1b65
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ module.exports = function(realmConstructor) {
if (realmConstructor.Sync._setFeatureToken) {
realmConstructor.Sync.setFeatureToken = function(featureToken) {
if (typeof featureToken !== 'string' || !featureToken instanceof String) {
if (typeof featureToken !== 'string' || !(featureToken instanceof String)) {
throw new Error("featureToken should be a string");
}