1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

chore: update formatting (#4111)

This commit is contained in:
Oliver Nocon
2022-11-08 08:47:38 +01:00
committed by GitHub
parent 5f643826f5
commit 25216b3ef8
40 changed files with 156 additions and 154 deletions

View File

@@ -125,6 +125,7 @@ func (c *Command) RunShell(shell, script string) error {
// RunExecutable runs the specified executable with parameters
// !! While the cmd.Env is applied during command execution, it is NOT involved when the actual executable is resolved.
//
// Thus the executable needs to be on the PATH of the current process and it is not sufficient to alter the PATH on cmd.Env.
func (c *Command) RunExecutable(executable string, params ...string) error {
@@ -152,6 +153,7 @@ func (c *Command) RunExecutable(executable string, params ...string) error {
// RunExecutableInBackground runs the specified executable with parameters in the background non blocking
// !! While the cmd.Env is applied during command execution, it is NOT involved when the actual executable is resolved.
//
// Thus the executable needs to be on the PATH of the current process and it is not sufficient to alter the PATH on cmd.Env.
func (c *Command) RunExecutableInBackground(executable string, params ...string) (Execution, error) {

View File

@@ -150,7 +150,7 @@ func (f Files) Chmod(path string, mode os.FileMode) error {
// from https://golangcode.com/unzip-files-in-go/ with the following license:
// MIT License
//
// Copyright (c) 2017 Edd Turtle
// # Copyright (c) 2017 Edd Turtle
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal