hallewhittaker / git2csv

Config files for my GitHub profile.
https://github.com/hallewhittaker
1 stars 1 forks source link

Output file ends up in weird directory? #3

Closed Manouchehri closed 3 years ago

Manouchehri commented 3 years ago
dave@xps:~/Work/git2csv$ ./git2csv.py . test.json
dave@xps:~/Work/git2csv$ ls -ltrha ../
total 192K
drwxrwxr-x   3 dave dave 4.0K Aug  2 10:15  hallewhittaker
drwxrwxr-x   4 dave dave 4.0K Aug  2 12:33  git-blame-to-csv
drwxr-xr-x 213 dave dave  12K Aug 27 16:42  ..
drwxrwxr-x   3 dave dave 4.0K Aug 30 12:01  git2csv
drwxrwxr-x   5 dave dave 4.0K Aug 30 12:01  .
-rw-rw-r--   1 dave dave 161K Aug 30 12:03 'git2csv\test.json'

For some reason, instead of the output file being test.json in the current directory, it ends up being git2csv\test.json in the parent directory.

Steps to reproduce:

./git2csv.py . test.json
hallewhittaker commented 3 years ago

2c78e4c1a29eab7fdbfdd1957eb909e266a01c67 Fixed current directory issue, now cross platform.