Skip to content

Commit

Permalink
fix load package
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisSimon committed Sep 15, 2017
1 parent 1340b0e commit 5c5acb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion accesslog.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var conf = {
filename: 'access.log'
};

accesslog.version = '0.0.4';
accesslog.version = require('./package').version;

/**
* Configuration object
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"author": "Peter Shaw <[email protected]> (https://github.com/petershaw/)",
"name": "apache-like-accesslog",
"dependencies": {
"date-format-lite": "^0.9.2",
"microtime": "^2.1.2",
"sprintf": "~0.1.1"
},
"version": "1.0.1",
"private": false,
"name": "apache-like-accesslog",
"homepage": "https://github.com/petershaw/NodeJS-Apache-Like-AccessLog",
"version": "1.0.3",
"private": false,
"description": "A apache-like access log as middleware for express and restify.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 5c5acb9

Please sign in to comment.