public override IApiMethodBuilderResult Build(ExpressionBuilderParams p, FunctionCallStatement functionCallStatement) { return(BashTestCommand.CreateTestExpression(this, p, functionCallStatement, (p1, fcs) => new ExpressionResult( TypeDescriptor, $"[ $(whoami) == 'root' ]", functionCallStatement ))); }
public override IApiMethodBuilderResult Build(ExpressionBuilderParams p, FunctionCallStatement functionCallStatement) { return(BashTestCommand.CreateTestExpression(this, p, functionCallStatement, "z")); }