We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c93a1fc commit 7ee187bCopy full SHA for 7ee187b
src/test/java/com/github/dockerjava/core/command/CopyArchiveToContainerCmdImplTest.java
@@ -122,7 +122,7 @@ public void copyDirWithLastAddedTarEnryEmptyDir() throws Exception{
122
@Test
123
public void copyFileWithExecutePermission() throws Exception {
124
// create script file, add permission to execute
125
- scriptPath = Files.createTempFile("run", ".sh");
+ Path scriptPath = Files.createTempFile("run", ".sh");
126
boolean executable = scriptPath.toFile().setExecutable(true, false);
127
if (!executable){
128
throw new Exception("Execute permission on file not set!");
0 commit comments