File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private function getCommand($type, $data = null)
117
117
case 'perl ' : $ command = 'perl -v ' ; break ;
118
118
case 'python ' : $ command = 'python --version ' ; break ;
119
119
case 'ruby ' : $ command = 'ruby --version ' ; break ;
120
- case 'ls ' : $ command = 'ls - ' .($ data ['showHiddenFiles ' ]=='true ' ?'a ' :'' ).'FlQ --time-style long-iso --group-directories-first ' .$ data ['file ' ]; break ;
120
+ case 'ls ' : $ command = 'ls - ' .(( $ data ['showHiddenFiles ' ]?? null ) =='true ' ?'a ' :'' ).'FlQ --time-style long-iso --group-directories-first ' .( $ data ['file ' ]?? null ) ; break ;
121
121
case 'cat ' : $ command = 'cat ' .$ data ['file ' ]; break ;
122
122
}
123
123
@@ -1009,4 +1009,4 @@ public function rcp($value)
1009
1009
<script src="//jamsouf.github.io/servyy/assets/js/highlight.pack.js"></script>
1010
1010
<script src="//jamsouf.github.io/servyy/assets/js/main.js"></script>
1011
1011
</body>
1012
- </html>
1012
+ </html>
You can’t perform that action at this time.
0 commit comments