From 5b41407d71c34145cf0110d44336a657738edb06 Mon Sep 17 00:00:00 2001 From: Owen Hart Date: Fri, 4 Feb 2022 12:32:34 -0800 Subject: [PATCH] Fix lint --- DRMType.js | 2 +- Video.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DRMType.js b/DRMType.js index 473536b2..d873bd69 100644 --- a/DRMType.js +++ b/DRMType.js @@ -2,5 +2,5 @@ export default { WIDEVINE: 'widevine', PLAYREADY: 'playready', CLEARKEY: 'clearkey', - FAIRPLAY: 'fairplay' + FAIRPLAY: 'fairplay', }; diff --git a/Video.js b/Video.js index b492d48b..e1eb6b3b 100644 --- a/Video.js +++ b/Video.js @@ -249,7 +249,7 @@ export default class Video extends Component { NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError(error, findNodeHandle(this._root)); }); } else { - NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError("No spc received", findNodeHandle(this._root)); + NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError('No spc received', findNodeHandle(this._root)); } } } @@ -403,7 +403,7 @@ Video.propTypes = { ]), drm: PropTypes.shape({ type: PropTypes.oneOf([ - DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY + DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY, ]), licenseServer: PropTypes.string, headers: PropTypes.shape({}),