chore: fix typos in comments (#6755)

This commit is contained in:
yy 2026-01-17 19:36:32 +09:00 committed by GitHub
parent 777c252915
commit 93141ae5a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ const { escape } = require("html-escaper");
* Returns a string that represents the javascript that is required to insert the Plausible Analytics script * Returns a string that represents the javascript that is required to insert the Plausible Analytics script
* into a webpage. * into a webpage.
* @param {string} scriptUrl the Plausible Analytics script url. * @param {string} scriptUrl the Plausible Analytics script url.
* @param {string} domainsToMonitor Domains to track seperated by a ',' to add Plausible Analytics script. * @param {string} domainsToMonitor Domains to track separated by a ',' to add Plausible Analytics script.
* @returns {string} HTML script tags to inject into page * @returns {string} HTML script tags to inject into page
*/ */
function getPlausibleAnalyticsScript(scriptUrl, domainsToMonitor) { function getPlausibleAnalyticsScript(scriptUrl, domainsToMonitor) {

View File

@ -2755,7 +2755,7 @@ message HealthCheckResponse {
this.monitor.jsonPath = "$"; this.monitor.jsonPath = "$";
} }
// Set default condition for for jsonPathOperator // Set default condition for jsonPathOperator
if (!this.monitor.jsonPathOperator) { if (!this.monitor.jsonPathOperator) {
this.monitor.jsonPathOperator = "=="; this.monitor.jsonPathOperator = "==";
} }