Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,9 @@ | ||
<a name="2.0.1"></a> | ||
## [2.0.1](https://github.com/guillaumearm/bidon/compare/v2.0.0...v2.0.1) (2018-03-12) | ||
### Bug Fixes | ||
* resolve package.json absolute path ([d3c1779](https://github.com/guillaumearm/bidon/commit/d3c1779)) | ||
<a name="2.0.0"></a> | ||
@@ -2,0 +10,0 @@ # [2.0.0](https://github.com/guillaumearm/bidon/compare/v1.1.3...v2.0.0) (2018-03-12) |
"use strict"; | ||
var _path = require("path"); | ||
var _util = require("util"); | ||
@@ -16,3 +18,6 @@ | ||
module.exports = async function main() { | ||
var _ref = await readJsonFile('./package.json'), | ||
var packageJsonPath = (0, _path.resolve)(__dirname, '..', 'package.json'); | ||
console.log(packageJsonPath); | ||
var _ref = await readJsonFile(packageJsonPath), | ||
version = _ref.version; | ||
@@ -19,0 +24,0 @@ |
{ | ||
"name": "bidon", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Fake repository for testing ci tools", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,1 +1,2 @@ | ||
import { resolve } from 'path'; | ||
import { promisify } from 'util'; | ||
@@ -10,4 +11,6 @@ import fs from 'fs'; | ||
module.exports = async function main() { | ||
const { version } = await readJsonFile('./package.json'); | ||
const packageJsonPath = resolve(__dirname, '..', 'package.json'); | ||
console.log(packageJsonPath); | ||
const { version } = await readJsonFile(packageJsonPath); | ||
console.warn(`v${version}`); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7187
31