Skip to content

Commit 48ff247

Browse files
committed
Format
1 parent 989c753 commit 48ff247

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

bin/cdklocal

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -478,17 +478,17 @@ const patchPost_2_14 = () => {
478478
require("aws-cdk/lib/legacy-exports");
479479
} catch (e) {
480480
switch (e.code) {
481-
case "MODULE_NOT_FOUND":
482-
// pre 2.177
483-
applyPatches(lib, lib, lib.SDK, lib.ToolkitInfo, false);
484-
break;
485-
case "ERR_PACKAGE_PATH_NOT_EXPORTED":
486-
// post 2.177
487-
configureEnvironment();
488-
break;
489-
default:
490-
// a different error
491-
throw e
481+
case "MODULE_NOT_FOUND":
482+
// pre 2.177
483+
applyPatches(lib, lib, lib.SDK, lib.ToolkitInfo, false);
484+
break;
485+
case "ERR_PACKAGE_PATH_NOT_EXPORTED":
486+
// post 2.177
487+
configureEnvironment();
488+
break;
489+
default:
490+
// a different error
491+
throw e
492492
}
493493
}
494494
};

0 commit comments

Comments
 (0)