Skip to content

Commit

Permalink
eslint: fix no-case-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Nov 3, 2017
1 parent 578c309 commit 5a075ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/user32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const enumWindowsProc = ffi.Callback(
}

switch (task.matchType) {
case 'pid':
case 'pid': {
const buf = ref.alloc(W.HINSTANCE);

user32.GetWindowThreadProcessId(hWnd, buf);
Expand All @@ -41,6 +41,7 @@ export const enumWindowsProc = ffi.Callback(
task.hwndSet.add(hWnd);
}
break;
}

case 'title':
if (task.matchValue) {
Expand Down

0 comments on commit 5a075ac

Please sign in to comment.