Change maxExpand limit to 1000 (#1383)

This commit is contained in:
Erik Demaine
2018-05-30 20:45:36 -04:00
committed by ylemkimon
parent 3796faaf5e
commit 788aa420be
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ class Settings {
this.colorIsTextColor = utils.deflt(options.colorIsTextColor, false);
this.strict = utils.deflt(options.strict, "warn");
this.maxSize = Math.max(0, utils.deflt(options.maxSize, Infinity));
this.maxExpand = Math.max(0, utils.deflt(options.maxExpand, Infinity));
this.maxExpand = Math.max(0, utils.deflt(options.maxExpand, 1000));
}
/**