MartinKoch123 / yaml

MATLAB YAML parser and emitter based on SnakeYAML
MIT License
22 stars 7 forks source link

filePath argument for yaml.dumpFile => file #9

Closed alec-hoyland closed 2 years ago

alec-hoyland commented 2 years ago

Changed the function signature spec for yaml.dumpFile to suggest .yaml filepaths for the filePath argument. This doesn't prevent the user from specifying a filepath that doesn't exist, but is nice when you're overwriting a file since it will autocomplete for you. Also, my editor decided to format the entire yaml file -- hence the fictive edits on each line.

MartinKoch123 commented 2 years ago

Hey Alec, thanks for the contributuion, I think the path hint is a good idea. Could you please make a pull request without the whitespace changes? They make it difficult to review the relevant changes and I think the additional newlines are unecessary.

alec-hoyland commented 2 years ago

Fixed