Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Cast StringChecker maxErrors property to Number the first time #688

Merged
merged 1 commit into from
Oct 15, 2014

Commits on Oct 15, 2014

  1. Cast StringChecker maxErrors property to Number the first time

    In max-errors.js, Object.defineProperties cast the config maxErrors property to Number
    but not the StringChecker maxErrors property.
    
    This leads to a bug if multiple jscs checks are executed using the same config object
    (config.maxerrors will equal 'undefined' the first time, and 'NaN' the second time)
    Florian Fesseler committed Oct 15, 2014
    Configuration menu
    Copy the full SHA
    776188d View commit details
    Browse the repository at this point in the history