github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/service/debugging_production.go (about)

     1  // Copyright 2018 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  //
     4  //go:build production
     5  // +build production
     6  
     7  package service
     8  
     9  import (
    10  	"fmt"
    11  
    12  	keybase1 "github.com/keybase/client/go/protocol/keybase1"
    13  	"golang.org/x/net/context"
    14  )
    15  
    16  func (t *DebuggingHandler) scriptExtras(ctx context.Context, arg keybase1.ScriptArg) (_ string, err error) {
    17  	return "", fmt.Errorf("unknown script in production mode: %v", arg.Script)
    18  }