Skip to content

Commit 0adfbff

Browse files
committed
address comments
1 parent 6c23ba3 commit 0adfbff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/shared/sam/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,14 @@ export async function updateRecentResponse(
110110
}
111111

112112
const buildProcessMementoRootKey = 'samcli.build.processes'
113+
const globalIdentifier = 'global'
113114

114115
/**
115116
* Returns true if there's an ongoing build process for the provided template, false otherwise
116117
* @Param templatePath The path to the template.yaml file
117118
*/
118119
function isBuildInProgress(templatePath: string): boolean {
119-
return getRecentResponse(buildProcessMementoRootKey, 'global', templatePath) !== undefined
120+
return getRecentResponse(buildProcessMementoRootKey, globalIdentifier, templatePath) !== undefined
120121
}
121122

122123
/**

0 commit comments

Comments
 (0)