Skip to content

Commit

Permalink
Should be exports.exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Jun 21, 2024
1 parent a4e17b5 commit dd88178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bare.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ bare.onthread = exports._onthread.bind(exports)
const Module = require('bare-module')
const url = require('bare-url')

bare.exit = Bare.exit
bare.exit = exports.exit

bare.load = function load (filename, source) {
return Module.load(url.pathToFileURL(filename), source ? Buffer.from(source) : null)
Expand Down

0 comments on commit dd88178

Please sign in to comment.