File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,14 @@ function buildKubevalArgs(
138138
139139function writeToStream ( stream : Writable , data : string ) : Promise < void > {
140140 return new Promise ( ( resolve , reject ) =>
141- stream . write ( data , 'utf-8' , err => ( err ? reject ( err ) : resolve ( ) ) )
141+ stream . write ( data , 'utf-8' , ( err ) => ( err ? reject ( err ) : resolve ( ) ) )
142142 ) ;
143143}
144144
145145function readStdoutToString ( childProcess : ChildProcess ) : Promise < string > {
146- return new Promise < string > ( resolve => {
146+ return new Promise < string > ( ( resolve ) => {
147147 let result = '' ;
148- childProcess . stdout ! ! . on ( 'data' , data => {
148+ childProcess . stdout ! ! . on ( 'data' , ( data ) => {
149149 result += data . toString ( ) ;
150150 } ) ;
151151 childProcess . on ( 'close' , ( ) => {
You can’t perform that action at this time.
0 commit comments