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: Spaces in paths are not handled during "Reading reports" step · Issue #183 · codecov/codecov-bash · GitHub
Fix here: Add necessary quotation marks around $file in Reading reports step by tonygoold · Pull Request #184 · codecov/codecov-bash · GitHub

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?