refactor: Add isBuildServer method to Server model
This commit is contained in:
parent
579ed5b9c0
commit
52b339d0b8
@ -927,4 +927,7 @@ public function isNonRoot()
|
||||
}
|
||||
return $this->user !== 'root';
|
||||
}
|
||||
public function isBuildServer() {
|
||||
return $this->settings->is_build_server;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user