Use Prettier to format samples#1203
Open
jhuleatt wants to merge 6 commits into
Open
Conversation
| lines[index] = makeKeyFirebaseCompatible(`"${line.replace(":", '":{')}`); | ||
| } else { | ||
| const split = line.replace('"', '\\"').split(': '); | ||
| const split = line.replace('"', '\\"').split(": "); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding
| var url = snapshot.metadata.downloadURLs[0]; | ||
| console.log("File available at", url); | ||
| this.linkContainer.innerHTML = | ||
| '<a href="' + url + '">/' + filePath + "</a>"; |
Check warning
Code scanning / CodeQL
DOM text reinterpreted as HTML
| for (let i=0; i<tracers.length; i++) { | ||
| ray(Math.round(27/tracers[i]), 81, ctx, {x: 243, y: 0}); | ||
| const ctx = canvas.getContext("2d"); | ||
| for (let i = 0; i < tracers.length; i++) { |
Check failure
Code scanning / CodeQL
Loop bound injection
| functions.logger.error('Error minting token.', err); | ||
| res.status(500).send('Error minting token.'); | ||
| } | ||
| app.get("/firebaseCustomToken", [cors, oktaAuth], async (req, res) => { |
Check failure
Code scanning / CodeQL
Missing rate limiting
| } | ||
| // [START v1domainHttpsError] | ||
| // Only users of a specific domain can sign up. | ||
| if (!email.includes("acme.com")) { |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization
| projectId: 'my-project', | ||
| databaseURL: 'https://my-project.firebaseio.com' | ||
| projectId: "my-project", | ||
| databaseURL: "https://my-project.firebaseio.com", |
Check failure
Code scanning / CodeQL
Incomplete regular expression for hostnames
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.