We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8040341 + df5628a commit 7922096Copy full SHA for 7922096
1 file changed
lib/common/static-config-base.ts
@@ -94,7 +94,8 @@ export abstract class StaticConfigBase implements Config.IStaticConfig {
94
95
// prepare the directory to host our copy of adb
96
const defaultAdbDirPath = path.join(__dirname, `resources/platform-tools/android/${process.platform}`);
97
- const commonLibVersion = require(path.join(__dirname, "package.json")).version;
+ const pathToPackageJson = path.join(__dirname, "..", "..", "package.json");
98
+ const commonLibVersion = require(pathToPackageJson).version;
99
const tmpDir = path.join(os.tmpdir(), `telerik-common-lib-${commonLibVersion}`);
100
$fs.createDirectory(tmpDir);
101
0 commit comments