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

Fix daemon mode prompting, remove API call causing error #42

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

awharn
Copy link
Member

@awharn awharn commented Apr 5, 2022

Signed-off-by: Andrew W. Harn [email protected]

@codecov
Copy link

codecov bot commented Apr 5, 2022

Codecov Report

Merging #42 (c00069b) into next (e6bfb19) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             next      #42      +/-   ##
==========================================
- Coverage   91.84%   91.82%   -0.02%     
==========================================
  Files          41       41              
  Lines         417      416       -1     
  Branches       29       28       -1     
==========================================
- Hits          383      382       -1     
  Misses         32       32              
  Partials        2        2              
Impacted Files Coverage Δ
src/cli/ImsBaseHandler.ts 65.21% <100.00%> (-1.45%) ⬇️
src/cli/ImsSessionUtils.ts 79.48% <100.00%> (ø)
src/cli/query/program/Program.handler.ts 92.85% <100.00%> (ø)
src/cli/query/region/Region.handler.ts 100.00% <100.00%> (ø)
src/cli/query/transaction/Transaction.handler.ts 92.85% <100.00%> (ø)
src/cli/start/program/Program.handler.ts 100.00% <100.00%> (ø)
src/cli/start/region/Region.handler.ts 100.00% <100.00%> (ø)
src/cli/start/transaction/Transaction.handler.ts 100.00% <100.00%> (ø)
src/cli/stop/program/Program.handler.ts 100.00% <100.00%> (ø)
src/cli/stop/region/Region.handler.ts 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0fbfe6f...c00069b. Read the comment docs.

@awharn awharn marked this pull request as ready for review April 5, 2022 19:32
Signed-off-by: Andrew W. Harn <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

*
* @returns {Promise<IIMSApiResponse>} The response from the underlying ims api call.
*/
public abstract async processWithSession(
commandParameters: IHandlerParameters,
session: ImsSession,
imsProfile: IProfile
session: ImsSession
): Promise<IIMSApiResponse>;
Copy link
Member

Choose a reason for hiding this comment

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

I initially thought this could've been a breaking change but since we do not export anything on the src/cli folder, we are fine 😋
Still good to do as part of vNext though since it's kind of a big change

Copy link
Member

@gejohnston gejohnston left a comment

Choose a reason for hiding this comment

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

Boy, we really passed the "profile" parameter around a lot, to never use it. Thanks for cleaning this up.

@zFernand0 zFernand0 merged commit fcdc01e into next Apr 8, 2022
@zFernand0 zFernand0 deleted the fix-daemon-mode branch April 8, 2022 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants