Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 613b454

Browse files
luciangfacebook-github-bot
authored andcommitted
buck: HaskellGhciRule: getCellUnsafeRelPath -> getRelativePath and provide ProjectFilesystem as a parameter
Summary: {D22289392} added `getCellUnsafeRelPath` and recommends replacing it with a call to "getRelativePath and provide ProjectFilesystem as a parameter". Reviewed By: cjhopman fbshipit-source-id: f62b67592864bc601f577359279782c4338e206f
1 parent 4a65bb0 commit 613b454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/facebook/buck/features/haskell/HaskellGhciRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public ResolveAndSymlinkStep(
295295
@Override
296296
public StepExecutionResult execute(StepExecutionContext context)
297297
throws IOException, InterruptedException {
298-
Path src = resolver.getCellUnsafeRelPath(lib).getPath().toRealPath();
298+
Path src = resolver.getRelativePath(getProjectFilesystem(), lib).getPath().toRealPath();
299299
Path dest = symlinkDir.resolve(name);
300300
return SymlinkFileStep.of(getProjectFilesystem(), src, dest).execute(context);
301301
}

0 commit comments

Comments
 (0)