Skip to content

Commit

Permalink
Standardized node:path imports
Browse files Browse the repository at this point in the history
This commit standardizes the `import` statements for the Node `path` module to use namespace imports rather than default imports.
  • Loading branch information
ZelnickB committed Aug 25, 2024
1 parent 191cc54 commit ef62d93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion routes/verification/confirm.endpoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'
import { petrock, discord } from '../../lib/oauthClients.js'
import { TokenSet } from 'openid-client'
import { decrypt } from '../../lib/simpleCrypto.js'
Expand Down
2 changes: 1 addition & 1 deletion routes/verification/confirmed.endpoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'
import { petrock } from '../../lib/oauthClients.js'
import { TokenSet } from 'openid-client'
import { decrypt } from '../../lib/simpleCrypto.js'
Expand Down
2 changes: 1 addition & 1 deletion routes/verification/discord.endpoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'
import { TokenSet } from 'openid-client'
import { petrock, discord } from '../../lib/oauthClients.js'
import { configSync } from '../../lib/preferencesReader.js'
Expand Down
2 changes: 1 addition & 1 deletion routes/verification/touchstone.endpoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'
import { petrock } from '../../lib/oauthClients.js'
import { configSync } from '../../lib/preferencesReader.js'

Expand Down

0 comments on commit ef62d93

Please sign in to comment.