Unnecessary assertion

This commit is contained in:
Will O'Beirne 2018-05-23 17:02:21 -04:00
parent c89a6ba50d
commit 3436a9258d
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6

View File

@ -45,7 +45,7 @@ function getMethod(req: Electron.RegisterStringProtocolRequest): EnclaveMethods
throw new Error(`Invalid or unknown method '${method}'`);
}
return method as EnclaveMethods;
return method;
}
function getParams(