fixed a bug that treated file names as directory names when resolving paths
fixed a bug that treated file names as directory names when resolving paths

BigstickCarpet/json-schema-lib,BigstickCarpet/json-schema-lib