mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 16:15:54 +00:00
fixed Compilation failure
This commit is contained in:
1 parent
e8c663e246
commit
e4ea2fa75c
1 file changed
+1
-1
@@ -2456,7 +2456,7 @@ public final class FilePath implements Serializable {
|
||||
* (User's home directory in the Unix sense) of the given channel.
|
||||
*/
|
||||
public static FilePath getHomeDirectory(VirtualChannel ch) throws InterruptedException, IOException {
|
||||
ch.call(new Callable<FilePath,IOException>() {
|
||||
return ch.call(new Callable<FilePath,IOException>() {
|
||||
public FilePath call() throws IOException {
|
||||
return new FilePath(new File(System.getProperty("user.home")));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user