Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(nsis-gen): fix missing distinct files in diff updaters
Browse files Browse the repository at this point in the history
  • Loading branch information
evshiron committed Apr 2, 2017
1 parent 208ec90 commit c4c7f9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/nsis-gen/NsisDiffer.ts
Expand Up @@ -33,6 +33,9 @@ export class NsisDiffer extends NsisComposer {
else if(diff.type1 == 'directory' && diff.type2 == 'missing') {
lines.push(await this.makeRemoveDir(diff.path1, '.' + diff.relativePath, diff.name1));
}
else if(diff.type1 == 'file' && diff.type2 == 'file' && diff.state == 'distinct') {
lines.push(await this.makeWriteFile(diff.path2, '.' + diff.relativePath, diff.name2));
}

}

Expand Down

0 comments on commit c4c7f9d

Please sign in to comment.