Skip to content

Commit 3b363eb

Browse files
fix: remove unneeded method param
1 parent e7a96f6 commit 3b363eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/webpack/webpack-compiler-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp
156156
}
157157
}
158158

159-
private async shouldUsePreserveSymlinksOption(projectData: IProjectData): Promise<boolean> {
159+
private async shouldUsePreserveSymlinksOption(): Promise<boolean> {
160160
// pnpm does not require symlink (https://github.com/nodejs/node-eps/issues/46#issuecomment-277373566)
161161
// and it also does not work in some cases.
162162
// Check https://github.com/NativeScript/nativescript-cli/issues/5259 for more information
@@ -175,7 +175,7 @@ export class WebpackCompilerService extends EventEmitter implements IWebpackComp
175175
const envParams = await this.buildEnvCommandLineParams(envData, platformData, projectData, prepareData);
176176
const additionalNodeArgs = semver.major(process.version) <= 8 ? ["--harmony"] : [];
177177

178-
if (await this.shouldUsePreserveSymlinksOption(projectData)) {
178+
if (await this.shouldUsePreserveSymlinksOption()) {
179179
additionalNodeArgs.push("--preserve-symlinks");
180180
}
181181

0 commit comments

Comments
 (0)