Skip to content

Commit 4a64d1d

Browse files
committed
📝 fix a typo
interrputed => interrupted
1 parent 01f0643 commit 4a64d1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

atom/browser/api/atom_api_download_item.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct Converter<content::DownloadItem::DownloadState> {
3030
download_state = "cancelled";
3131
break;
3232
case content::DownloadItem::INTERRUPTED:
33-
download_state = "interrputed";
33+
download_state = "interrupted";
3434
break;
3535
default:
3636
break;

docs/api/download-item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Emits when the `downloadItem` gets updated.
3939
* `interrupted` - An error broke the connection with the file server.
4040
4141
Emits when the download is in a terminal state. This includes a completed
42-
download, a cancelled download(via `downloadItem.cancel()`), and interrputed
42+
download, a cancelled download(via `downloadItem.cancel()`), and interrupted
4343
download that can't be resumed.
4444
4545
## Methods

0 commit comments

Comments
 (0)