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(cli): moving the spinner above category initialization tasks #4836

Merged
merged 2 commits into from
Jul 15, 2020

Conversation

SwaySway
Copy link
Contributor

@SwaySway SwaySway commented Jul 15, 2020

stopping the spinner before running category init tasks since the spinner can swallow outputs (such
as questions via inquirer)
related issue: sindresorhus/ora#90

re #4795

change type to intersection type in e2e

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lgtm-com
Copy link

lgtm-com bot commented Jul 15, 2020

This pull request introduces 1 alert when merging 6959132d558f3029c86268b82dc25018bd62e24c into 79c774a - view on LGTM.com

new alerts:

  • 1 for Useless conditional

@codecov
Copy link

codecov bot commented Jul 15, 2020

Codecov Report

Merging #4836 into master will increase coverage by 0.73%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4836      +/-   ##
==========================================
+ Coverage   60.52%   61.25%   +0.73%     
==========================================
  Files         350      349       -1     
  Lines       15203    15021     -182     
  Branches     2880     2858      -22     
==========================================
  Hits         9201     9201              
+ Misses       5514     5332     -182     
  Partials      488      488              
Impacted Files Coverage Δ
packages/amplify-util-mock/src/api/api.ts

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 1d56b40...ce2251c. Read the comment docs.

@jhockett jhockett self-requested a review July 15, 2020 03:26
Copy link
Contributor

@jhockett jhockett left a comment

Choose a reason for hiding this comment

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

LGTM bot alert made me realize the code can be simplified a bit

packages/amplify-cli/src/initialize-env.js Outdated Show resolved Hide resolved
@SwaySway SwaySway requested a review from jhockett July 15, 2020 16:52
stopping the spinner before running category init tasks since the spinner can swallow outputs (such
as questions via inquirer)

re aws-amplify#4795
@SwaySway SwaySway merged commit 5884801 into aws-amplify:master Jul 15, 2020
nikhname pushed a commit to nikhname/amplify-cli that referenced this pull request Jul 27, 2020
…-amplify#4836)

* fix(cli): moving the spinner above category initialization tasks

stopping the spinner before running category init tasks since the spinner can swallow outputs (such
as questions via inquirer)

re aws-amplify#4795
sebastiancrossa pushed a commit to MLH-Fellowship/amplify-cli that referenced this pull request Aug 4, 2020
…-amplify#4836)

* fix(cli): moving the spinner above category initialization tasks

stopping the spinner before running category init tasks since the spinner can swallow outputs (such
as questions via inquirer)

re aws-amplify#4795
sebastiancrossa pushed a commit to MLH-Fellowship/amplify-cli that referenced this pull request Aug 25, 2020
…-amplify#4836)

* fix(cli): moving the spinner above category initialization tasks

stopping the spinner before running category init tasks since the spinner can swallow outputs (such
as questions via inquirer)

re aws-amplify#4795
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 16, 2021
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.

None yet

2 participants