Skip to content

Commit

Permalink
replace double quotes with single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
janpio committed Oct 3, 2018
1 parent eb57b02 commit c1b9772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/CameraProxy.js
Expand Up @@ -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) {
Expand Down

0 comments on commit c1b9772

Please sign in to comment.