As a developer,
I would like the Generator package to accept an IO reader,
So that tests and use can be more generic.
Summary
Currently the Generator package driver is expecting a string to process. Instead we should move more to what is outlined by this comment on a previous PR to the repo:
Story
As a developer, I would like the
Generator
package to accept an IO reader, So that tests and use can be more generic.Summary
Currently the
Generator
package driver is expecting a string to process. Instead we should move more to what is outlined by this comment on a previous PR to the repo:https://github.com/operator-framework/combo/pull/24#discussion_r749581785
Doing this will help keep the package more generic and improve the
validateFile()
function to be more accurate.Acceptance Criteria
validateFile()
logic updated to confirm the length of the file instead of reading for nil.validateFile()
function