From f4b2efc2f3164d3352c1c8de0621d1f1c2430b1e Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Wed, 27 Jan 2021 23:10:14 -0800 Subject: [PATCH] Fix formatting. --- include/nodejs/node_osrm_support.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/nodejs/node_osrm_support.hpp b/include/nodejs/node_osrm_support.hpp index 4d89c60d8..400d420a5 100644 --- a/include/nodejs/node_osrm_support.hpp +++ b/include/nodejs/node_osrm_support.hpp @@ -1212,8 +1212,7 @@ argumentsToTableParameter(const Nan::FunctionCallbackInfo &args, size_t source_value = Nan::To(source).FromJust(); if (source_value >= params->coordinates.size()) { - Nan::ThrowError( - "Source indices must be less than the number of coordinates"); + Nan::ThrowError("Source indices must be less than the number of coordinates"); return table_parameters_ptr(); }