diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-01-05 14:37:28 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-01-10 11:15:49 -0800 |
commit | 7ca62ec602f6141d67559698a3d04e035e916437 (patch) | |
tree | a125bdaac1cce6cca783defc08fd014eeb0a8b7e /scripts | |
parent | 9f89832827ddf9fab6fa1ef35e2cd497d468a4a8 (diff) | |
download | qtlocation-mapboxgl-7ca62ec602f6141d67559698a3d04e035e916437.tar.gz |
[build] Special case heatmap-color so it doesn't crash `make style-code`
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/generate-style-code.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/generate-style-code.js b/scripts/generate-style-code.js index 443f0c7cc9..dbca4216ad 100644 --- a/scripts/generate-style-code.js +++ b/scripts/generate-style-code.js @@ -111,6 +111,10 @@ global.defaultValue = function (property) { return '{}'; } + if (property.name === 'heatmap-color') { + return '{}'; + } + switch (property.type) { case 'number': return property.default; |