Skip to content

Commit

Permalink
chore: remove testdata file reader from run method
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerourke committed Nov 4, 2021
1 parent e074eb7 commit 0665413
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions devcon.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ package devcon
import (
"errors"
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"strings"
)

Expand Down Expand Up @@ -52,7 +50,7 @@ func New(exeFilePath string) *DevCon {
//
// Add to the DevCon instance before the command.
//
// dc.WithConditionalReboot().Enable()
// dc.WithConditionalReboot().Enable("*")
func (dc *DevCon) WithConditionalReboot() *DevCon {
dc.IsRebooted = true

Expand Down

0 comments on commit 0665413

Please sign in to comment.