Spaces in paths are not handled during "Reading reports" step

Description

Spaces in paths are not handled during “Reading reports” step

Repository

GitHub issue here: https://github.com/codecov/codecov-bash/issues/183
Fix here: https://github.com/codecov/codecov-bash/pull/184

Steps to Reproduce

  1. Create an iOS project.
  2. Add a directory called “Third Party” with some code in it.
  3. Attempt to run the codecov bash script in it.

Expected behavior:

Codecov runs.

Actual behavior:

Codecov fails during the “Reading reports” step with an error similar to:

Detecting git/mercurial file structure
Reading reports
head: ./#Users#vagrant#git#<project-root>#Third: No such file or directory
head: Party#AFNetworking#AFURLConnectionOperation.h.gcov: No such file or directory

Flakiness?

100% reproducible.

Versions

macOS 10.14.5
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)

Additional Information

Does anyone monitor issues on the codecov GitHub repo?