Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-05-03 19:04:50 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-05-03 19:04:50 +0300
commit64fba199cae32c0b0e90fb1dc531feb66e679d4e (patch)
tree95e9ea596bb325db5c240d45bc44d5f5f62c9053
parente0070a746c56f23ef1f342bf1bc9aecdf5fe9501 (diff)
build/stamp.js: use relative path to package.json.
-rw-r--r--build/stamp.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/stamp.js b/build/stamp.js
index e02aa8b..ce16ac6 100644
--- a/build/stamp.js
+++ b/build/stamp.js
@@ -2,9 +2,7 @@
'use strict';
-const path = require('path');
-
-const pkg = require(path.resolve('package.json'));
+const pkg = require('../package.json');
const year = new Date().getFullYear();
const stampTop =