Skip to content

Commit

Permalink
chore: fix some comments (#4680)
Browse files Browse the repository at this point in the history
Signed-off-by: goodactive <goodactive@qq.com>
  • Loading branch information
goodactive authored Jan 7, 2025
1 parent 419ab96 commit 473514b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/api/src/graphql/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class InvalidPhoneForOnboardingError extends CustomGraphQLError {
export class UnauthorizedIPMetadataCountryError extends CustomGraphQLError {
constructor(errData: CustomGraphQLErrorData) {
super({
message: "Country not not authorized for quizzes.",
message: "Country not authorized for quizzes.",
forwardToClient: true,
code: "UNAUTHORIZED_COUNTRY_IP_FOR_QUIZZES",
...errData,
Expand Down
2 changes: 1 addition & 1 deletion prelude/decls/erlang_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ rules_attributes = {
developers should be to reduce usages of this field._ **DO NOT ADD ANY MORE USAGES!!**
"""),
"extra_properties": attrs.option(attrs.dict(key = attrs.string(), value = attrs.one_of(attrs.string(), attrs.list(attrs.string()))), default = None, doc = """
The extra_properties field can be used to specify extra key-value pairs which is are not defined in
The extra_properties field can be used to specify extra key-value pairs which are not defined in
[application_opt()](https://www.erlang.org/doc/man/application.html#load-2). The key-value pair will be stored in the
applications `.app` file and can be accessed by `file:consult/1`.
"""),
Expand Down
2 changes: 1 addition & 1 deletion prelude/java/java_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def java_library_impl(ctx: AnalysisContext) -> list[Provider]:
shared_library_info,
cxx_resource_info,
linkable_graph,
# Add an unused default output in case this target is used an an attr.source() anywhere.
# Add an unused default output in case this target is used an attr.source() anywhere.
DefaultInfo(default_output = ctx.actions.write("{}/unused.jar".format(ctx.label.name), [])),
TemplatePlaceholderInfo(keyed_variables = {
"classpath": "unused_but_needed_for_analysis",
Expand Down
2 changes: 1 addition & 1 deletion prelude/kotlin/kotlin_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def kotlin_library_impl(ctx: AnalysisContext) -> list[Provider]:
shared_library_info,
cxx_resource_info,
linkable_graph,
# Add an unused default output in case this target is used an an attr.source() anywhere.
# Add an unused default output in case this target is used an attr.source() anywhere.
DefaultInfo(default_output = ctx.actions.write("{}/unused.jar".format(ctx.label.name), [])),
TemplatePlaceholderInfo(keyed_variables = {
"classpath": "unused_but_needed_for_analysis",
Expand Down

0 comments on commit 473514b

Please sign in to comment.