Fix wrong keyword in toolkit/components/jsdownloads/DownloadIntegration.jsm

This commit is contained in:
NTD 2018-02-08 21:32:29 -05:00 committed by Roy Tam
commit ecb6a6528a

View file

@ -697,7 +697,7 @@ this.DownloadIntegration = {
// to do this check. The second is that the system-level security prompt
// would be displayed at launch time in any case.
if (file.isExecutable() && !isWindowsExe &&
!(await this.confirmLaunchExecutable(file.path))) {
!(yield this.confirmLaunchExecutable(file.path))) {
return;
}