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: Minor typo in error message about missing providers #1240

Merged
merged 1 commit into from
Nov 3, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class ValidateProviderPresence implements IValidation {
return [];
} else {
return [
`Found resources without a matching povider. Please make sure to add the following providers to your stack: ${missingProviders.join(
`Found resources without a matching provider. Please make sure to add the following providers to your stack: ${missingProviders.join(
", "
)}`,
];
Expand Down
2 changes: 1 addition & 1 deletion packages/cdktf/test/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test("app synth throws error when provider is missing", () => {

expect(() => app.synth()).toThrowErrorMatchingInlineSnapshot(`
"Validation failed with the following errors:
[MyStack] Found resources without a matching povider. Please make sure to add the following providers to your stack: test-provider"
[MyStack] Found resources without a matching provider. Please make sure to add the following providers to your stack: test-provider"
`);
});

Expand Down
2 changes: 1 addition & 1 deletion packages/cdktf/test/stack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test("stack validation returns error when provider is missing", () => {
const errors = stack.node.validate();

expect(errors).toEqual([
`Found resources without a matching povider. Please make sure to add the following providers to your stack: test-provider`,
`Found resources without a matching provider. Please make sure to add the following providers to your stack: test-provider`,
]);
});

Expand Down