@yegor256/dogent 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "lint": "eslint .",
41
41
  "test": "mocha 'test/**/*.js' --timeout 60000"
42
42
  },
43
- "version": "0.9.0",
43
+ "version": "0.9.1",
44
44
  "dependencies": {
45
45
  "minimist": "^1.2.8"
46
46
  }
@@ -45,7 +45,7 @@ class NameMatchesDir {
45
45
  return this.mismatch(uri, name);
46
46
  }
47
47
  mismatch(uri, name) {
48
- const parent = path.basename(path.dirname(uri));
48
+ const parent = path.basename(path.dirname(path.resolve(uri)));
49
49
  if (!name || name.value === parent) {
50
50
  return [];
51
51
  }
package/src/version.js CHANGED
@@ -9,8 +9,8 @@
9
9
  * Version.
10
10
  *
11
11
  * The current release of dogent, replaced on every release by rultor.
12
- * The default `0.9.0` marks an unreleased build straight from source.
12
+ * The default `0.9.1` marks an unreleased build straight from source.
13
13
  */
14
- const version = '0.9.0';
14
+ const version = '0.9.1';
15
15
 
16
16
  module.exports = version;