File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -94,32 +94,6 @@ export async function cargoInstall(
9494 }
9595 ) ;
9696
97- if ( stderr ) {
98- // TODO: find better solution
99- if (
100- stderr . toLowerCase ( ) . includes ( "already exists" ) ||
101- stderr . toLowerCase ( ) . includes ( "to your path" ) ||
102- stderr . toLowerCase ( ) . includes ( "is already installed" ) ||
103- stderr . toLowerCase ( ) . includes ( "yanked in registry" )
104- ) {
105- Logger . debug (
106- LoggerSource . rustUtil ,
107- `Cargo package '${ packageName } ' is already installed ` +
108- "or cargo bin not in PATH:" ,
109- stderr
110- ) ;
111-
112- return true ;
113- }
114-
115- Logger . error (
116- LoggerSource . rustUtil ,
117- `Failed to install cargo package '${ packageName } ': ${ stderr } `
118- ) ;
119-
120- return false ;
121- }
122-
12397 return true ;
12498 } catch ( error ) {
12599 const msg = unknownErrorToString ( error ) ;
You can’t perform that action at this time.
0 commit comments