fix linting error caused by 8b2133e

This commit is contained in:
Cassie Tarakajian 2018-10-23 16:14:27 -04:00
parent 8b2133ea99
commit 5196a37807
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}