From 5196a3780793784c1d8f8e27cfc0c0f230289ee1 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 23 Oct 2018 16:14:27 -0400 Subject: [PATCH] fix linting error caused by 8b2133e --- client/modules/IDE/components/PreviewFrame.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 37eed435..0523e666 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -241,7 +241,7 @@ class PreviewFrame extends React.Component { // could also pull file from API instead of using bloburl const blobURL = getBlobUrl(resolvedFile); this.props.setBlobUrl(resolvedFile, blobURL); - const filePathRegex = new RegExp(filePath, "gi"); + const filePathRegex = new RegExp(filePath, 'gi'); newContent = newContent.replace(filePathRegex, blobURL); } }