Skip to content

Commit 787e1a6

Browse files
committed
fix: make method public so that it can be stubbed
1 parent 21a9a48 commit 787e1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/util/zipUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class ZipUtil {
7070
return CodeWhispererConstants.projectScanPayloadSizeLimitBytes
7171
}
7272

73-
protected reachSizeLimit(size: number, scope: CodeWhispererConstants.CodeAnalysisScope): boolean {
73+
public reachSizeLimit(size: number, scope: CodeWhispererConstants.CodeAnalysisScope): boolean {
7474
return CodeWhispererConstants.isFileAnalysisScope(scope)
7575
? size > this.getFileScanPayloadSizeLimitInBytes()
7676
: size > this.getProjectScanPayloadSizeLimitInBytes()

0 commit comments

Comments
 (0)