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

cli: update 'download:plugins' script #8058

Merged
merged 1 commit into from
Jun 19, 2020
Merged

cli: update 'download:plugins' script #8058

merged 1 commit into from
Jun 19, 2020

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes: #8053

The following pull-request updates the download:plugins script to report a message when the mandatory theiaPlugins property is missing from the package.json ultimately resulting in
no plugins being downloaded.

How to test

  1. execute yarn download:plugins (plugins should be successfully downloaded)
  2. clean the plugins directory (rm -rf plugins/)
  3. rename theiaPlugins to theiaPluginsTest (in the package.json)
  4. execute yarn download:plugins (the error message of the mandatory field is logged)

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto [email protected]

Fixes: #8053

The following commit updates the `download:plugins` script to report
when the mandatory `theiaPlugins` property is missing from the
`package.json` resulting in no plugins being downloaded.

Signed-off-by: vince-fugnitto <[email protected]>
@vince-fugnitto vince-fugnitto added the theia-cli issues related to the theia-cli label Jun 19, 2020
@vince-fugnitto vince-fugnitto self-assigned this Jun 19, 2020
Copy link
Contributor

@lmcbout lmcbout left a comment

Choose a reason for hiding this comment

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

Works as expected
Error message is fine
Thanks @vince-fugnitto

@vince-fugnitto vince-fugnitto merged commit 52a43ce into master Jun 19, 2020
@vince-fugnitto vince-fugnitto deleted the vf/gh-8053 branch June 19, 2020 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theia-cli issues related to the theia-cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

download:plugins fails if "theiaPlugins" is not present in package.json
2 participants