Skip to content

Commit 51c1457

Browse files
authored
chore: fix a comment
1 parent a69cc6d commit 51c1457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/ProfileModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)