From c1b9772dca33fd796865ddf75f8ec611430cc09a Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Wed, 3 Oct 2018 20:54:06 +0200 Subject: [PATCH] replace double quotes with single quotes --- src/windows/CameraProxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/CameraProxy.js b/src/windows/CameraProxy.js index 9362be5a7..b24f6234c 100644 --- a/src/windows/CameraProxy.js +++ b/src/windows/CameraProxy.js @@ -802,7 +802,7 @@ function savePhoto(picture, options, successCallback, errorCallback) { } else { // CB-11714: check if target content-type is PNG to just rename as *.jpg since camera is captured as JPEG if (options.encodingType === Camera.EncodingType.PNG) { - picture.name = picture.name.replace(/\.png$/, ".jpg"); + picture.name = picture.name.replace(/\.png$/, '.jpg'); } picture.copyAsync(getAppData().localFolder, picture.name, OptUnique).done(function (copiedFile) {