Skip to content

Commit c2d027e

Browse files
committed
chore: apply unsafe fixes
1 parent 43186e7 commit c2d027e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import * as cloudfront from "aws-cdk-lib/aws-cloudfront"
33
import * as iam from "aws-cdk-lib/aws-iam"
44
import * as s3 from "aws-cdk-lib/aws-s3"
55
import "jest-cdk-snapshot"
6-
import * as path from "path"
7-
import { fileURLToPath } from "url"
6+
import * as path from "node:path"
7+
import { fileURLToPath } from "node:url"
88
import { WebappDeploy } from "."
99
import { Source } from "./source"
1010

src/webapp-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
import * as path from "node:path"
2+
import { fileURLToPath } from "node:url"
13
import * as cdk from "aws-cdk-lib"
24
import type * as cloudfront from "aws-cdk-lib/aws-cloudfront"
35
import * as iam from "aws-cdk-lib/aws-iam"
46
import * as lambda from "aws-cdk-lib/aws-lambda"
57
import type * as s3 from "aws-cdk-lib/aws-s3"
68
import { Provider } from "aws-cdk-lib/custom-resources"
79
import * as constructs from "constructs"
8-
import * as path from "path"
9-
import { fileURLToPath } from "url"
1010
import type { ISource } from "./source"
1111

1212
const __dirname = path.dirname(fileURLToPath(import.meta.url))

0 commit comments

Comments
 (0)