Skip to content

Whitespace in path name causes error #24

@VinnieMuffinMan

Description

@VinnieMuffinMan

Current Behavior

When running the extension with a path name that has a whitespace in it, the command doesn't put quotes around the path and so the path isn't valid.

Expected Behavior

The extension should assume that there are whitespaces and preemptively add quotes to all path names.

Steps to Reproduce the Problem

  1. Run the extension on a file whose path has a space.
  2. Black raises an Invalid value for 'SRC ...' error.

Environment

  • Version: v1.0.3
  • Platform: Windows
  • Node.js Version: v18.18.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions