Skip to content

Commit 344d570

Browse files
committed
fix(project): drop the duplicate getBuildRelativeDirectoryPath
Two pull requests added the method independently, at different offsets in the same files, so the merges applied cleanly and left the project with duplicate implementations that do not compile.
1 parent 0c9860c commit 344d570

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

lib/project-data.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,6 @@ export class ProjectData implements IProjectData {
298298
return this.resolveToProjectDir(appRelativePath, projectDir);
299299
}
300300

301-
public getBuildRelativeDirectoryPath(): string {
302-
if (this.nsConfig && this.nsConfig[constants.CONFIG_NS_BUILD_ENTRY]) {
303-
return this.nsConfig[constants.CONFIG_NS_BUILD_ENTRY];
304-
}
305-
306-
return constants.PLATFORMS_DIR_NAME;
307-
}
308-
309301
public getAppDirectoryRelativePath(): string {
310302
if (this.nsConfig && this.nsConfig[constants.CONFIG_NS_APP_ENTRY]) {
311303
return this.nsConfig[constants.CONFIG_NS_APP_ENTRY];

test/stubs.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,6 @@ export class ProjectDataStub implements IProjectData {
720720
return "";
721721
}
722722

723-
public getBuildRelativeDirectoryPath(): string {
724-
return "platforms";
725-
}
726-
727723
public getAppDirectoryPath(projectDir?: string): string {
728724
if (!projectDir) {
729725
projectDir = this.projectDir;

0 commit comments

Comments
 (0)