-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Use Prettier to format samples #1203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
} else { | ||
const split = line.replace('"', '\\"').split(': '); | ||
const split = line.replace('"', '\\"').split(": "); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
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 Medium
DOM text
DOM text
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 High
user-provided value
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 High
authorization
} | ||
// [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 High
acme.com
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 High test
No description provided.