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 Typographical Errors in Messages and Documentation #2631

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/commands/deployment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class Deployment extends Command {

if (!option) {
userOptions = await select({
message: 'Select an deployment option',
message: 'Select a deployment option',
choices: [{value: 'deploy'}, {value: 'promote'}, {value: 'delete'}],
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class Project extends Command {

if (!option) {
userOptions = await select({
message: 'Select an project option',
message: 'Select a project option',
choices: [{value: 'create'}, {value: 'delete'}],
});
} else {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/controller/codegen-controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Codegen can generate schema', () => {

it('codegen with incorrect schema field should fail', async () => {
const projectPath = path.join(__dirname, '../../test/schemaTest');
await expect(codegen(projectPath, ['project-bad-schema.yaml'])).rejects.toThrow(/is not an valid type/);
await expect(codegen(projectPath, ['project-bad-schema.yaml'])).rejects.toThrow(/is not a valid type/);
});

it('codegen with entities that uses reserved names should throw', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/x-provider/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const l = getLogger('http-provider');
*
* @name HttpProvider
*
* @description The HTTP Provider allows sending requests using HTTP to a HTTP RPC server TCP port. It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferable using the [[WsProvider]].
* @description The HTTP Provider allows sending requests using HTTP to an HTTP RPC server TCP port. It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferable using the [[WsProvider]].
*
* @example
* <BR>
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/graphql/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export function getAllEntitiesRelations(_schema: GraphQLSchema | string | null):
});
}
} else {
throw new Error(`${typeString} is not an valid type`);
throw new Error(`${typeString} is not a valid type`);
}
// handle indexes
if (indexDirectiveVal) {
Expand Down