File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/core/src/codewhisperer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export async function processSQLConversionTransformFormInput(pathToProject: stri
109109
110110export async function compileProject ( ) {
111111 try {
112- const dependenciesFolder : FolderInfo = getDependenciesFolderInfo ( )
112+ const dependenciesFolder : FolderInfo = await getDependenciesFolderInfo ( )
113113 transformByQState . setDependencyFolderInfo ( dependenciesFolder )
114114 const projectPath = transformByQState . getProjectPath ( )
115115 await prepareProjectDependencies ( dependenciesFolder . path , projectPath )
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ import { AbsolutePathDetectedError } from '../../../amazonqGumby/errors'
1818import { getLogger } from '../../../shared/logger/logger'
1919import AdmZip from 'adm-zip'
2020
21- export function getDependenciesFolderInfo ( ) : FolderInfo {
21+ export async function getDependenciesFolderInfo ( ) : Promise < FolderInfo > {
2222 const dependencyFolderName = `${ CodeWhispererConstants . dependencyFolderName } ${ globals . clock . Date . now ( ) } `
2323 const dependencyFolderPath = path . join ( os . tmpdir ( ) , dependencyFolderName )
24- fs . mkdir ( dependencyFolderPath )
24+ await fs . mkdir ( dependencyFolderPath )
2525 return {
2626 name : dependencyFolderName ,
2727 path : dependencyFolderPath ,
You can’t perform that action at this time.
0 commit comments