Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Farfurix committed Jul 25, 2019
1 parent 0763e01 commit af3326a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/asar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class Asar {
}

getFileInAsarNotFoundMessage (archive: string, fileName: string) : string {
return `The target file ("${fileName}") in the "asar" archive ("${archive}") is not found`;
return `Cannot find the "${fileName}" file in the "${archive}" archive.`;
}

getArchivePath (fullPath: string) : string {
Expand Down
2 changes: 1 addition & 1 deletion test/server/proxy-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ describe('Proxy', () => {
expect(err).contains([
'Failed to read a file at <a href="' + url + '">' + url + '</a> because of the error:',
'',
'The target file ("' + fileName + '") in the "asar" archive ("' + archive + '") is not found'
'Cannot find the "' + fileName + '" file in the "' + archive + '" archive.'
].join('\n'));

ctx.res.end();
Expand Down

0 comments on commit af3326a

Please sign in to comment.