Skip to content
This repository
Browse code

fixed variable name for startup file env var

  • Loading branch information...
commit ff0b7387485fca06f302847a730327c4e8135b30 1 parent aac65ed
Aaron Stacy aaronj1335 authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 src/node.js
8 src/node.js
@@ -111,15 +111,15 @@
111 111 // REPL
112 112 var ctx = Module.requireRepl().start().context;
113 113
114   - var startup = process.env.NODE_STARTUP;
115   - if (startup) {
  114 + var stup = process.env.NODE_STARTUP;
  115 + if (stup) {
116 116 var path = NativeModule.require('path');
117 117 var fs = NativeModule.require('fs');
118 118 var vm = NativeModule.require('vm');
119 119
120   - path.exists(startup, function(exists) {
  120 + path.exists(stup, function(exists) {
121 121 if (exists) {
122   - fs.readFile(startup, function(err, data) {
  122 + fs.readFile(stup, function(err, data) {
123 123 if (! err) {
124 124 vm.runInContext(data.toString('utf8'), ctx);
125 125 }

0 comments on commit ff0b738

Please sign in to comment.
Something went wrong with that request. Please try again.