Skip to content

Commit bf09617

Browse files
committed
Fix two typos
1 parent d7f9cf2 commit bf09617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/getenv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function _value(varName, fallback) {
33
if (value === undefined) {
44
if (fallback === undefined) {
55
throw new Error('GetEnv.Nonexistent: ' + varName + ' does not exist ' +
6-
'and now fallback value provided.');
6+
'and no fallback value provided.');
77
}
88
return '' + fallback;
99
}

test/getenv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var assert = require('assert');
22

33
var getenv = require('../lib/getenv');
44

5-
//Setting getenv vars for testing
5+
// Setting env vars for testing
66
process.env.TEST_GETENV_EMPTY_STRING = '';
77
process.env.TEST_GETENV_STRING = 'This is a string.';
88
process.env.TEST_GETENV_INT1 = '10';

0 commit comments

Comments
 (0)