File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change 10
10
}
11
11
12
12
command=" "
13
- correct_dir_structure=false
14
- port_available=false
15
-
16
-
17
- if [ -z $( ls /dev/tty.* | grep usb) ]
18
- then
19
- exit 1
20
- fi
21
-
22
- while [ $( basename ` pwd` ) != ' /' ]
23
- do
24
- if [ $( basename ` pwd` ) == ' src' ] || [ $( basename ` pwd` ) == ' lib' ]
25
- then
26
- correct_dir_structure=true
27
- cd ..
28
- break
29
- elif [ $( ls | egrep " lib|src" | wc -l) -eq 2 ]
30
- then
31
- correct_dir_structure=true
32
- break
33
- fi
34
-
35
- cd ..
36
- done
37
-
38
- if ! $correct_dir_structure
39
- then
40
- exit 1
41
- fi
42
13
43
14
while [ $# -gt 0 ]
44
15
do
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ function! s:InvokeArduinoCli(deploy)
35
35
36
36
let l: command = s: helper_dir . " /vim-arduino " . l: flag
37
37
let l: result = system (l: command )
38
- call s: PrintStatus (v: shell_error )
39
38
echo l: result
40
39
call s: PrintStatus (v: shell_error )
41
40
endfunction
You can’t perform that action at this time.
0 commit comments