Fix linter error (#1271)
This commit is contained in:
parent
b7a8bdcc49
commit
8d7eac1b65
|
@ -107,7 +107,7 @@ module.exports = function(realmConstructor) {
|
||||||
|
|
||||||
if (realmConstructor.Sync._setFeatureToken) {
|
if (realmConstructor.Sync._setFeatureToken) {
|
||||||
realmConstructor.Sync.setFeatureToken = function(featureToken) {
|
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");
|
throw new Error("featureToken should be a string");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue