mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:33:30 +02:00
- No root for now.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
module.exports = function ShellCtrl($scope, $rootScope) {
|
||||
module.exports = function ShellCtrl($scope) {
|
||||
$scope.results = []
|
||||
|
||||
$scope.run = function(command) {
|
||||
var cmd = $rootScope.control.shell(command)
|
||||
var cmd = $scope.control.shell(command)
|
||||
return cmd.promise
|
||||
.progressed(function(results) {
|
||||
$scope.results = results
|
||||
|
||||
Reference in New Issue
Block a user