mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make Sandbox.writeSessionFile actually write the file
This commit is contained in:
@@ -490,7 +490,8 @@ _.extend(Sandbox.prototype, {
|
||||
// restore authentication states.
|
||||
writeSessionFile: function (contents) {
|
||||
var self = this;
|
||||
return fs.readFileSync(path.join(self.root, '.meteorsession'), 'utf8');
|
||||
return fs.writeFileSync(path.join(self.root, '.meteorsession'),
|
||||
contents, 'utf8');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user