Skip to content

Commit

Permalink
chore: do not throw when requiring deprecated modules (#2732)
Browse files Browse the repository at this point in the history
we have an integ test that tries to "require" all modules, and
it now fails since we've been throwing.
  • Loading branch information
Elad Ben-Israel authored and RomainMuller committed Jun 4, 2019
1 parent 6b9f9db commit ccf3636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-quickstarts/lib/index.ts
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`);
3 changes: 2 additions & 1 deletion packages/@aws-cdk/runtime-values/lib/index.ts
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`);

0 comments on commit ccf3636

Please sign in to comment.