Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Fixes issue with empty fact #74

Merged
merged 1 commit into from
May 2, 2017
Merged

Fixes issue with empty fact #74

merged 1 commit into from
May 2, 2017

Conversation

petems
Copy link
Owner

@petems petems commented Mar 28, 2017

  • When no facts on system, the value of swap_file_array.join(',') would be "", as the array is empty
  • I had assumed an empty string was not valid for Facter, but I was wrong
  • Add a guard, and add a spec for the fact change

* When no facts on system, the value of `swap_file_array.join(',')` would be "", as the array is empty
* I had assumed an empty string was not valid for Facter, but I was wrong
* Add a guard, and add a spec for the fact change
@petems petems merged commit 119c21a into master May 2, 2017
@petems petems added the bug label Jul 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant