File tree Expand file tree Collapse file tree
.github/actions/javascript
createOrUpdateStagingDeploy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15419,7 +15419,7 @@ async function detectReactComponentInFile(filename) {
1541915419 };
1542015420 try {
1542115421 const { data } = await GithubUtils_1.default.octokit.repos.getContent(params);
15422- const content = nodeBase64ToUtf8('content' in data ? data?.content ?? '' : '');
15422+ const content = nodeBase64ToUtf8('content' in data ? ( data?.content ?? '') : '');
1542315423 return detectReactComponent(content, filename);
1542415424 }
1542515425 catch (error) {
Original file line number Diff line number Diff line change @@ -12321,7 +12321,7 @@ const replacer = (str) => ({
1232112321 '\r': '\\r',
1232212322 '\f': '\\f',
1232312323 '"': '\\"',
12324- }[str] ?? '') ;
12324+ }) [str] ?? '';
1232512325/**
1232612326 * Replace any characters in the string that will break JSON.parse for our Git Log output
1232712327 *
Original file line number Diff line number Diff line change @@ -12358,7 +12358,7 @@ const replacer = (str) => ({
1235812358 '\r': '\\r',
1235912359 '\f': '\\f',
1236012360 '"': '\\"',
12361- }[str] ?? '') ;
12361+ }) [str] ?? '';
1236212362/**
1236312363 * Replace any characters in the string that will break JSON.parse for our Git Log output
1236412364 *
Original file line number Diff line number Diff line change @@ -3018,7 +3018,7 @@ const replacer = (str) => ({
30183018 '\r' : '\\r' ,
30193019 '\f' : '\\f' ,
30203020 '"' : '\\"' ,
3021- } [ str ] ?? '' ) ;
3021+ } ) [ str ] ?? '' ;
30223022/**
30233023 * Replace any characters in the string that will break JSON.parse for our Git Log output
30243024 *
You can’t perform that action at this time.
0 commit comments