Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use path.join instead of string concatenating

  • Loading branch information...
commit 604777e229797a772a23789267376e0251e3d16d 1 parent db07565
@MSNexploder authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/inflect/version.coffee
View
4 src/inflect/version.coffee
@@ -1,3 +1,5 @@
+path = require 'path'
+
# version information
-exports.package = JSON.parse(require("fs").readFileSync(__dirname + "/../../package.json"))
+exports.package = JSON.parse(require('fs').readFileSync(path.join(__dirname, '/../../package.json')))
exports.version = exports.package.version
Please sign in to comment.
Something went wrong with that request. Please try again.