Skip to content

Commit 9a8d6e3

Browse files
committed
Standardized
1 parent cda0389 commit 9a8d6e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async function simulator () {
151151
if (argv._.length === 1) throw new Error('Must provide a script for the simulator to run.')
152152
const scriptPath = p.resolve(argv._[1])
153153
const simulatorId = await getUnusedSocket()
154-
process.env['HYPERSPACE_HOST'] = simulatorId
154+
process.env.HYPERSPACE_HOST = simulatorId
155155

156156
const server = createServer(ram, {
157157
...argv,
@@ -164,7 +164,7 @@ async function simulator () {
164164

165165
const child = spawn(process.execPath, [scriptPath], {
166166
env: {
167-
'HYPERSPACE_HOST': simulatorId
167+
HYPERSPACE_HOST: simulatorId
168168
},
169169
stdio: 'inherit'
170170
})

0 commit comments

Comments
 (0)