Skip to content

Commit e443fc4

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Respect dependency.directory if such is already calculated
1 parent 88cc5de commit e443fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/plugins-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class PluginsService implements IPluginsService {
184184
let pluginData: any = {};
185185
pluginData.name = cacheData.name;
186186
pluginData.version = cacheData.version;
187-
pluginData.fullPath = path.dirname(this.getPackageJsonFilePathForModule(cacheData.name));
187+
pluginData.fullPath = cacheData.directory || path.dirname(this.getPackageJsonFilePathForModule(cacheData.name));
188188
pluginData.isPlugin = !!cacheData.nativescript;
189189
pluginData.pluginPlatformsFolderPath = (platform: string) => path.join(pluginData.fullPath, "platforms", platform);
190190

0 commit comments

Comments
 (0)