Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Jan 17, 2024
1 parent ade82eb commit 53915a3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/console-logger.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
import { cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent } from './utils.mjs';
import {
cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent,
} from './utils.mjs';

export class ConsoleLogger {
constructor(req, altLogger) {
Expand Down
4 changes: 3 additions & 1 deletion src/coralogix-logger.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
* governing permissions and limitations under the License.
*/
import { Logger } from './logger.mjs';
import { cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent } from './utils.mjs';
import {
cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent,
} from './utils.mjs';

export class CoralogixLogger {
constructor(req) {
Expand Down
4 changes: 3 additions & 1 deletion src/google-logger.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
* governing permissions and limitations under the License.
*/
import { Logger } from './logger.mjs';
import { cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent } from './utils.mjs';
import {
cleanurl, getForwardedHost, getMaskedTime, getMaskedUserAgent,
} from './utils.mjs';

export class GoogleLogger {
constructor(req) {
Expand Down
4 changes: 3 additions & 1 deletion test/utils.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
*/
/* eslint-env mocha */
import assert from 'assert';
import { cleanurl, getForwardedHost, getMaskedUserAgent, maskTime } from '../src/utils.mjs';
import {
cleanurl, getForwardedHost, getMaskedUserAgent, maskTime,
} from '../src/utils.mjs';

describe('Test Utils', () => {
it('Mask the time', () => {
Expand Down

0 comments on commit 53915a3

Please sign in to comment.