File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ class ProfileModule {
183183
184184
185185 const contentType = response . headers . get ( 'content-type' ) ;
186- console . log ( 'content type?' , '|' + contentType + '|' ) ;
186+ // console.log('content type?', '|' + contentType + '|');
187187
188188 // TODO: proper content type parsing
189189 if ( ! contentType . trim ( ) . startsWith ( 'application/json' ) ) {
@@ -241,7 +241,7 @@ class ProfileModule {
241241 if ( args . save ) {
242242 const localEnvFile = '.env' ;
243243 try {
244- // Check if the file exists, if so then delete it before writing .
244+ // Check if the file exists, if so then append the api key to the EOF .
245245 if ( fs . existsSync ( localEnvFile ) ) {
246246 console . log ( chalk . yellow ( `File "${ localEnvFile } " already exists... Adding token.` ) ) ;
247247 fs . appendFileSync ( localEnvFile , `\nPUTER_API_KEY="${ data . token } "` , 'utf8' ) ;
You can’t perform that action at this time.
0 commit comments