Skip to content

Commit 994c44c

Browse files
fix(show_core_changelog): Use cwd to find the "core" working copy
1 parent 44944e0 commit 994c44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

show_core_changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var fs = require('fs');
99

1010
var CORE_PKG = `@uirouter/core`;
1111
var ALT_CORE_PKG = `ui-router-core`;
12-
var CORE_DIR = path.join(__dirname, "..", 'core');
12+
var CORE_DIR = path.join(process.cwd(), "..", 'core');
1313
var SHOWCHANGELOG_SCRIPT = path.join(CORE_DIR, "node_modules", ".bin", "show_changelog");
1414

1515
var pkgPath = path.resolve('./package.json');

0 commit comments

Comments
 (0)