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 jshint warnings #8800

Merged
merged 1 commit into from May 9, 2016
Merged

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented May 9, 2016

Fix the following jshint warnings:

assets❯ jshint app/scripts
app/scripts/controllers/create/createFromImage.js: line 200, col 17, Expected '{' and instead saw 'result'.
app/scripts/controllers/create/createFromImage.js: line 186, col 68, 'scope' is defined but never used.
app/scripts/controllers/create/createFromImage.js: line 304, col 56, 'key' is defined but never used.

app/scripts/controllers/create/nextSteps.js: line 89, col 10, Unnecessary semicolon.
app/scripts/controllers/create/nextSteps.js: line 100, col 10, Unnecessary semicolon.

app/scripts/controllers/edit/buildConfig.js: line 813, col 25, Missing semicolon.

app/scripts/controllers/modals/confirmReplaceModal.js: line 11, col 85, 'AlertMessageService' is defined but never used.

app/scripts/controllers/util/error.js: line 14, col 9, 'error_description' is defined but never used.
app/scripts/controllers/util/error.js: line 15, col 9, 'error_uri' is defined but never used.

@jwforres PTAL

@spadgett
Copy link
Member Author

spadgett commented May 9, 2016

@jwforres @benjaminapetersen does hack/build-assets.sh not fail when there are jshint problems?

@jwforres
Copy link
Member

jwforres commented May 9, 2016

[merge]

@jwforres
Copy link
Member

jwforres commented May 9, 2016

may depend on whether they are warnings or errors? i have seen it fail before

@openshift-bot
Copy link
Contributor

openshift-bot commented May 9, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5855/) (Image: devenv-rhel7_4146)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 283a2bc

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 283a2bc

@benjaminapetersen
Copy link
Contributor

hmmm. yeah I was also under the impression build-assets would complain if any issues, though I've noticed build-assets vs test-assets can fail differently as well.

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3697/)

@openshift-bot openshift-bot merged commit 6cc5256 into openshift:master May 9, 2016
@@ -195,9 +195,10 @@ angular.module("openshiftConsole")
//means some resources exist with the given nanme
result.reject(successResults);
}
else
else {
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 for consistency at least!

@spadgett spadgett deleted the fix-jshint-warnings branch May 12, 2016 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants