kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Fixed missing 'string' typeConversion function
rodzic
2c79f19ca0
commit
0e4b3842cd
|
@ -126,6 +126,9 @@ module.exports = {
|
|||
else if (value === 'false') return false;
|
||||
else if (typeof value === 'boolean') return value;
|
||||
else throw new Error(`Cannot convert ${value} to boolean`);
|
||||
},
|
||||
'string': function(value){
|
||||
return value; // No conversion needed
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue