@@ -77,7 +77,7 @@ async function writeResultsToOutputDir() {
|
||||
const benchmarkResultContents = await fs.readFile(fullBenchmarkResultPath, {encoding: 'utf-8'});
|
||||
const benchmarkResults = JSON.parse(benchmarkResultContents);
|
||||
const { timestamp } = benchmarkResults;
|
||||
if (typeof timestamp !== 'number') throw new Error("No timestamp found in bechmark result");
|
||||
if (typeof timestamp !== 'number') throw new Error("No timestamp found in benchmark result");
|
||||
await fs.copyFile(fullBenchmarkResultPath, path.join(outputDir, `${timestamp}.json`));
|
||||
} catch (err) {
|
||||
console.error(`Error ${err}. Skipping: '${benchmarkResultPath}'`);
|
||||
|
||||
@@ -379,7 +379,7 @@ for (let layer of layers) {
|
||||
writeIfModified(`src/mbgl/style/layers/${layerFileName}_layer_properties.hpp`, propertiesHpp(layer), outLocation);
|
||||
writeIfModified(`src/mbgl/style/layers/${layerFileName}_layer_properties.cpp`, propertiesCpp(layer), outLocation);
|
||||
|
||||
// Remove our fake property for the external interace.
|
||||
// Remove our fake property for the external interface.
|
||||
if (layer.type === 'line') {
|
||||
layer.paintProperties = layer.paintProperties.filter(property => property.name !== 'line-floor-width');
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ modifiedReferenceSpec["paint_location-indicator"] = {
|
||||
"zoom"
|
||||
]
|
||||
},
|
||||
"doc": "The displacement off the center of the top image and the shadow image when the pitch of the map is greater than 0. This helps producing a three-dimensional appearence."
|
||||
"doc": "The displacement off the center of the top image and the shadow image when the pitch of the map is greater than 0. This helps producing a three-dimensional appearance."
|
||||
},
|
||||
"bearing": {
|
||||
"type": "number",
|
||||
|
||||
@@ -9,7 +9,7 @@ src:*/mbgl/util/hash.hpp
|
||||
#############################################################################
|
||||
# vendor libs
|
||||
|
||||
# unsigned integer overflow: unsigned interger index in for loop
|
||||
# unsigned integer overflow: unsigned integer index in for loop
|
||||
src:*/vendor/earcut.hpp/include/mapbox/earcut.hpp
|
||||
|
||||
# unsigned integer overflow: hash function: str_hash
|
||||
|
||||
@@ -124,7 +124,7 @@ async function updateDocumentation(documentationPath, examples) {
|
||||
}
|
||||
|
||||
if (status.tag === 'find-codeblock') {
|
||||
throw Error(`Ended evalution while looking for codeblock with id '${status.id}'`);
|
||||
throw Error(`Ended evaluation while looking for codeblock with id '${status.id}'`);
|
||||
}
|
||||
|
||||
if (status.tag === 'skip-to-codeblock-end') {
|
||||
|
||||
Reference in New Issue
Block a user