Skip to content

Commit

Permalink
Add ./node_modules as --include-path
Browse files Browse the repository at this point in the history
  • Loading branch information
10gic committed Mar 13, 2023
1 parent b9cd42e commit 143a896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var deployCmd = &cobra.Command{

//log.Printf("solcjs output to dir %v", dir)

cmd := exec.Command("solcjs", "--base-path", ".", "--bin", "--abi", "--output-dir", dir, deploySrcFile)
cmd := exec.Command("solcjs", "--base-path", ".", "--include-path", "./node_modules", "--bin", "--abi", "--output-dir", dir, deploySrcFile)
log.Printf("executing command %v", cmd.String())
var out bytes.Buffer
var stderr bytes.Buffer
Expand Down

0 comments on commit 143a896

Please sign in to comment.