Просмотр исходного кода

made log of saving debug/error only

hugedong69 лет назад: 8
Родитель
Сommit
700aa30acd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -660,7 +660,7 @@ module.exports = function FpsUtils(dispatch) {
 		fs.writeFile(path.join(__dirname,'config.json'), JSON.stringify(flags,null,"\t"), err => {
 		fs.writeFile(path.join(__dirname,'config.json'), JSON.stringify(flags,null,"\t"), err => {
 			if (err) console.log('(FPS Utils) Config file failed to overwrite. Use "fps save" command to save again.')
 			if (err) console.log('(FPS Utils) Config file failed to overwrite. Use "fps save" command to save again.')
 			else
 			else
-				console.log('(FPS Utils) Config file saved!') // I am too lazy to unfuck this at the present moment
+				log('(FPS Utils) Config file saved!') // I am too lazy to unfuck this at the present moment
 		})
 		})
 	}
 	}