File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/core/src/codewhisperer/service/transformByQ Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ export class DiffModel {
165
165
throw new Error ( CodeWhispererConstants . noChangesMadeMessage )
166
166
}
167
167
168
- const changedFiles = parsePatch ( diffContents )
168
+ let changedFiles = parsePatch ( diffContents )
169
+ // exclude dependency_upgrade.yml from patch application
170
+ changedFiles = changedFiles . filter ( ( file ) => ! file . oldFileName ?. includes ( 'dependency_upgrade' ) )
169
171
getLogger ( ) . info ( 'CodeTransformation: parsed patch file successfully' )
170
172
// if doing intermediate client-side build, pathToWorkspace is the path to the unzipped project's 'sources' directory (re-using upload ZIP)
171
173
// otherwise, we are at the very end of the transformation and need to copy the changed files in the project to show the diff(s)
You can’t perform that action at this time.
0 commit comments