chucknorris/dropkick — Issue #36: CopyFile task swallows file not found exception
Author: AkosLukacs
Created: 2012-02-02 16:13:56+00:00
State: open

Or something like that...

## Steps to reproduce:
### Deploayment definition:

DeploymentStepsFor(Test1, t => {
string temp = @"\\localhost\c$\temp";
string sub = temp + "\\sub";
t.CreateEmptyFolder(sub);
t.CopyFile(temp + "\\dummy_exists.txt").ToDirectory(sub);
t.CopyFile(temp + "\\dummy_does_not_exist.txt").ToDirectory(sub);
t.CopyFile(temp + "\\dummy_exists.txt").ToDirectory(sub);
});

### Create one file
Create a file at ```\\localhost\c$\temp\dummy_exists.txt```

### Run it :)

## Output:
[Good ] 'C:\temp\sub' already exists.
[copy][overwrite] '\\localhost\c$\temp\dummy_exists.txt' -> 'C:\temp\sub\dummy_exists.txt'
C:\temp\sub\dummy_exists.txt
[Good ] Copy '\\localhost\c$\temp\dummy_exists.txt' to 'C:\temp\sub'
[copy][overwrite] '\\localhost\c$\temp\dummy_exists.txt' -> 'C:\temp\sub\dummy_exists.txt'
C:\temp\sub\dummy_exists.txt
[Good ] Copy '\\localhost\c$\temp\dummy_exists.txt' to 'C:\temp\sub'

I think it should complain, that "dummy_does_not_exist.txt" does not exist!
Using latest source from github.