Code Duplication    Length = 7-7 lines in 2 locations

src/strategy/local.php 1 location

@@ 63-69 (lines=7) @@
60
})->local();
61
62
desc('Upload your locally-built application to your hosts');
63
task('local:upload', function () {
64
    $configs = array_merge_recursive(get('local_upload_options'), [
65
        'options' => ['--delete'],
66
    ]);
67
68
    upload('{{local_deploy_path}}/current/', '{{release_path}}', $configs);
69
});
70
71
desc('Remove locally-built application');
72
task('local:cleanup', function () {

src/strategy/upload.php 1 location

@@ 42-48 (lines=7) @@
39
 */
40
41
desc('Upload a given folder to your hosts');
42
task('upload', function () {
43
    $configs = array_merge_recursive(get('upload_options'), [
44
        'options' => ['--delete'],
45
    ]);
46
47
    upload('{{upload_path}}/', '{{release_path}}', $configs);
48
});
49