<commit_before>'use strict'

var util = require('util');
var path = require('path');
var os = require('os');
var fs = require('fs');
var child_process = require('child_process');
var mv = require('mv');
var Request = require('./request');

const tmp_folder = path.join(os.tmpDir(), 'google-font-installer');

function SystemFont() {}

SystemFont.prototype._saveTmp = function(remoteFile, fileName, callback) {
	if (!remoteFile) {
		callback(new Error('Nothig to download'), null);
		return;
	}
	var self = this;
	this._checkDestFolder(tmp_folder, function(err, folder){
		if (err) {
			callback(err);
			return;
		}<commit_msg>Change depreciated os method call.<commit_after>'use strict'

var util = require('util');
var path = require('path');
var os = require('os');
var fs = require('fs');
var child_process = require('child_process');
var mv = require('mv');
var Request = require('./request');

const tmp_folder = path.join(os.tmpdir(), 'google-font-installer');

function SystemFont() {}

SystemFont.prototype._saveTmp = function(remoteFile, fileName, callback) {
	if (!remoteFile) {
		callback(new Error('Nothig to download'), null);
		return;
	}
	var self = this;
	this._checkDestFolder(tmp_folder, function(err, folder){
		if (err) {
			callback(err);
			return;
		}
{'fraction_non_alphanumeric': 0.16549019607843138, 'fraction_numerical': 0.0, 'mean_word_length': 5.38, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1502872', 'n_tokens_mistral': 424, 'n_tokens_neox': 406, 'n_words': 106}