Skip to content

Commit

Permalink
fix accessor-name in comments (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodaka authored Jan 9, 2023
1 parent 8cb13c0 commit 7a47152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/custom-accessor-2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import * as env from '../env-var'
const { from, accessors } = env

// Add an accessor named 'asIntRange' which verifies whether the given value is
// Add an accessor named 'asIntBetween' which verifies whether the given value is
// between the specified min and max values, inclusive
const envInstance = from(process.env, {
asIntBetween: (value, min, max) => {
Expand Down
2 changes: 1 addition & 1 deletion example/custom-accessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
const env = require('../env-var')
const { from, accessors } = env

// Add an accessor named 'asIntRange' which verifies whether the given value is
// Add an accessor named 'asIntBetween' which verifies whether the given value is
// between the specified min and max values, inclusive
const envInstance = from(process.env, {
asIntBetween: (value, min, max) => {
Expand Down

0 comments on commit 7a47152

Please sign in to comment.