Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(device): convert PosixPath to str #1

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

ankitrgadiya
Copy link
Member

The is_remote_path utility function returns PosixPath class, but the functions later expect a string as parameter. This commit adds the as_posix() call which converts the class into a str fixing this bug.

The is_remote_path utility function returns `PosixPath` class, but the
functions later expect a string as parameter. This commit adds the
`as_posix()` call which converts the class into a `str` fixing this bug.
@ankitrgadiya ankitrgadiya self-assigned this Nov 12, 2021
Copy link
Contributor

@wiresurfer wiresurfer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to merge

@wiresurfer wiresurfer merged commit d293e02 into devel Nov 12, 2021
@ankitrgadiya ankitrgadiya deleted the bugfix/scp-posix-path-to-str branch November 12, 2021 17:11
@ankitrgadiya ankitrgadiya added this to the v0.2.0 milestone Dec 20, 2021
ankitrgadiya added a commit that referenced this pull request Dec 27, 2021
The is_remote_path utility function returns `PosixPath` class, but the
functions later expect a string as parameter. This commit adds the
`as_posix()` call which converts the class into a `str` fixing this bug.
github-actions bot pushed a commit that referenced this pull request Dec 27, 2021
# [0.2.0](v0.1.1...v0.2.0) (2021-12-27)

### Bug Fixes

* **device:** convert PosixPath to str ([#1](#1)) ([5346e54](5346e54))
* **device:** fixes the device inspect command ([5f76295](5f76295))
* **network:** ROS distro is corrected to noetic ([#7](#7)) ([837352b](837352b))
* **package:** fixes handling for wrong name ([4607022](4607022))
* **static-route:** fixes the name to guid behaviour for hyphenated names ([7bd5b8e](7bd5b8e))

### Features

* **marketplace:** support for marketplace bulk install ([182fab9](182fab9))
* **network:** adds device native network support ([020b096](020b096))
ankitrgadiya pushed a commit that referenced this pull request Mar 14, 2022
# [0.2.0](v0.1.1...v0.2.0) (2021-12-27)

### Bug Fixes

* **device:** convert PosixPath to str ([#1](#1)) ([5346e54](5346e54))
* **device:** fixes the device inspect command ([5f76295](5f76295))
* **network:** ROS distro is corrected to noetic ([#7](#7)) ([837352b](837352b))
* **package:** fixes handling for wrong name ([4607022](4607022))
* **static-route:** fixes the name to guid behaviour for hyphenated names ([7bd5b8e](7bd5b8e))

### Features

* **marketplace:** support for marketplace bulk install ([182fab9](182fab9))
* **network:** adds device native network support ([020b096](020b096))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants