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(); }