Skip to content

Commit 1764d85

Browse files
committed
[js] Fix bug in nqp::getenvhash.
1 parent 6ac0c44 commit 1764d85

File tree

1 file changed

+1
-1
lines changed
  • src/vm/js/nqp-runtime

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/io.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ op.cwd = function() {
273273
op.getenvhash = function() {
274274
var hash = new Hash();
275275
for (var key in process.env) {
276-
hash[key] = process.env[key];
276+
hash.content[key] = process.env[key];
277277
}
278278
return hash;
279279
};

0 commit comments

Comments
 (0)