Skip to content

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Apr 23, 2024
2 parents d20a70b + c35151a commit 159ef15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion npm/src/index.js
@@ -1,10 +1,11 @@
import path from 'node:path'
import os from 'node:os'
import fs from 'node:fs'
import { fileURLToPath } from 'node:url'
import { spawn } from 'node:child_process'

const dirname = path
.dirname(import.meta.url)
.dirname(fileURLToPath(import.meta.url))
.replace(`file://${os.platform() === 'win32' ? '/' : ''}`, '')

export const SOCKET_HOME = path.dirname(dirname)
Expand Down

0 comments on commit 159ef15

Please sign in to comment.