cvent / deprecated-json-schema-2-poco

Converts JSON schemas to C# POCOs
18 stars 27 forks source link

Use Path.DirectorySeparatorChar for portability #22

Closed bscSCORM closed 9 years ago

bscSCORM commented 9 years ago

Replaced usages of literal backslash in paths with Path.DirectorySeparatorChar in order to allow paths to be constructed properly when not running on a Windows system.

Before this change when runing using Mono on a Mac, output files would have backslashes in the file name instead of being placed in the apropriate directory structure. After this change, files are placed properly.