We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c32a344 commit 7322b21Copy full SHA for 7322b21
src/react-native-bundle-visualizer.js
@@ -10,7 +10,7 @@ const { explore } = require('source-map-explorer');
10
const pkgJSON = JSON.parse(fs.readFileSync('./package.json'));
11
12
function sanitizeString(str) {
13
- return str.replace(/[^\w]/gi, '');
+ return str ? str.replace(/[^\w]/gi, '') : str;
14
}
15
16
function getAppName() {
test/Expo35/app.json
@@ -1,6 +1,6 @@
1
{
2
"expo": {
3
- "name": "Bundle Visualizer",
+ "name": "Expo35",
4
"slug": "Expo35",
5
"privacy": "public",
6
"sdkVersion": "36.0.0",
test/Expo42/app.json
+ "name": "Expo42",
"slug": "Expo42",
"version": "1.0.0",
"orientation": "portrait",
0 commit comments