Skip to content

Commit f3b46eb

Browse files
committed
fix(pencil): fix typo in version
1 parent 5cf3963 commit f3b46eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ const isModuleExists = (path) => {
263263
};
264264

265265
const getSDKVersion = () => {
266-
const agentPkg = PackageManager.getPackage(join(process.cwd(), '/node_modules/@securenative/agent/', PACKAGE_FILE_NAME));
267-
return agentPkg && agentPkg.version || 'unknown';
266+
const agentPkg = PackageManager.getPackage(join(process.cwd(), '/node_modules/@securenative/sdk/', PACKAGE_FILE_NAME));
267+
return agentPkg && agentPkg.version;
268268
};
269269

270270
export {

0 commit comments

Comments
 (0)