File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
packages/cli/src/cli/cmd/ci Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1- import path from "path" ;
21import { Command } from "interactive-commander" ;
32import createOra from "ora" ;
43import { getSettings } from "../../utils/settings" ;
@@ -7,7 +6,6 @@ import { IIntegrationFlow } from "./flows/_base";
76import { PullRequestFlow } from "./flows/pull-request" ;
87import { InBranchFlow } from "./flows/in-branch" ;
98import { getPlatformKit } from "./platforms" ;
10- import { getConfig } from "../../utils/config" ;
119
1210interface CIOptions {
1311 parallel ?: boolean ;
@@ -72,18 +70,6 @@ export default new Command()
7270 parseBooleanArg ,
7371 )
7472 . action ( async ( options : CIOptions ) => {
75- const configDir = options . workingDirectory
76- ? path . resolve ( process . cwd ( ) , options . workingDirectory )
77- : process . cwd ( ) ;
78- const originalCwd = process . cwd ( ) ;
79- let config ;
80- try {
81- process . chdir ( configDir ) ;
82- config = getConfig ( false ) ;
83- } finally {
84- process . chdir ( originalCwd ) ;
85- }
86-
8773 const settings = getSettings ( options . apiKey ) ;
8874
8975 if ( ! settings . auth . apiKey ) {
You can’t perform that action at this time.
0 commit comments