Skip to content

Commit

Permalink
Update ChangedFiles enumeration logic (#132)
Browse files Browse the repository at this point in the history
* Update ChangedFilesBuilder.scala

* Update ChangedFilesBuilder.scala
  • Loading branch information
deeksha-microsoft committed Jul 1, 2021
1 parent 2a09daa commit 7622326
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object ChangedFilesBuilder {
else run(branch.substring(prefix.length))

def processFunction(): Seq[File] = {
val diffOutput = run(s"git diff --name-only --diff-filter=d $actualBranch")
val diffOutput = run(s"git diff --name-only --diff-filter=d $actualBranch -- $workingDirectory")
val gitRootOutput = run("git rev-parse --show-toplevel")
val gitRootPath = Paths.get(gitRootOutput)
diffOutput.linesIterator
Expand Down

0 comments on commit 7622326

Please sign in to comment.