Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 52e9414

Browse files
author
Nitesh Kumar
committed
corrected eslint error
1 parent e8a829c commit 52e9414

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/extensions/default/OpenWithExternalApplication/GraphicsFile.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ define(function (require, exports, module) {
5353
if(response.id !== _requestID) {
5454
return;
5555
}
56-
_graphicsFilePresentInProject(response.present)
56+
_graphicsFilePresentInProject(response.present);
5757
});
5858

5959
ProjectManager.on("projectOpen", function () {
@@ -99,15 +99,16 @@ define(function (require, exports, module) {
9999
]
100100
).done(function (id) {
101101

102-
if(id !== Dialogs.DIALOG_BTN_OK)
102+
if(id !== Dialogs.DIALOG_BTN_OK) {
103103
return;
104+
}
104105

105106
brackets.app.getSystemDefaultApp(_graphicsFileTypes.join(), function (err, out) {
106107
var associateApp = out.split(','),
107108
fileTypeToAppMap = {};
108109

109110
associateApp.forEach(function(item) {
110-
fileTypeToAppMap[item.split(':')[0]] = item.split(':')[1]
111+
fileTypeToAppMap[item.split(':')[0]] = item.split(':')[1];
111112
});
112113
Dialogs.showModalDialog(
113114
DefaultDialogs.DIALOG_ID_INFO,
@@ -121,7 +122,7 @@ define(function (require, exports, module) {
121122
text: Strings.BUTTON_YES
122123
}
123124
]
124-
)
125+
);
125126
});
126127
});
127128
PreferencesManager.setViewState("AssociateGraphicsFileDialogShown", true);

src/extensions/default/OpenWithExternalApplication/node/OpenWithExternalApplicationDomain.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function _checkFileTypesInFolder(params) {
5858
var respObj = {
5959
id: params.reqId,
6060
present: matches.length > 0 ? true : false
61-
}
61+
};
6262
_domainManager.emitEvent('OpenWithExternalApplication', 'checkFileTypesInFolderResponse', [respObj]);
6363
});
6464

@@ -67,7 +67,7 @@ function _checkFileTypesInFolder(params) {
6767
var respObj = {
6868
id: params.reqId,
6969
present: true
70-
}
70+
};
7171
_domainManager.emitEvent('OpenWithExternalApplication', 'checkFileTypesInFolderResponse', [respObj]);
7272
});
7373

0 commit comments

Comments
 (0)