forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: do not throw when requiring deprecated modules (aws#2732)
we have an integ test that tries to "require" all modules, and it now fails since we've been throwing.
- Loading branch information
1 parent
6b9f9db
commit ccf3636
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
throw new Error(`The @aws-cdk/aws-quickstarts module has been deprecated`); | ||
// tslint:disable-next-line:no-console | ||
console.error(`ERROR: The @aws-cdk/aws-quickstarts module has been deprecated`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
throw new Error(`@aws-cdk/runtime-values is deprecated`); | ||
// tslint:disable-next-line:no-console | ||
console.error(`ERROR: @aws-cdk/runtime-values is deprecated`); |