diff --git a/pkg/cmd/tknpac/bootstrap/bootstrap.go b/pkg/cmd/tknpac/bootstrap/bootstrap.go index fe4c3d01d1..81757cdfe3 100644 --- a/pkg/cmd/tknpac/bootstrap/bootstrap.go +++ b/pkg/cmd/tknpac/bootstrap/bootstrap.go @@ -207,7 +207,7 @@ func GithubApp(run *params.Run, ioStreams *cli.IOStreams) *cobra.Command { return err } // installed but there is error for missing resources - if installed && !opts.forceInstall { + if installed && !opts.forceInstall && !opts.skipInstall { return fmt.Errorf("pipelines as Code is already installed, please pass --force-install to override existing") }