<commit_before>import * as Hapi from 'hapi';

import Logger from './helper/logger';
import * as Router from './router';
import Plugins from './plugins';

class Server {
    public static init() : void {
        try {<commit_msg>Fix issue with wrong async/await declaration<commit_after>import * as Hapi from 'hapi';

import Logger from './helper/logger';
import * as Router from './router';
import Plugins from './plugins';

class Server {
    static async init() : Promise<any> {
        try {
{'fraction_non_alphanumeric': 0.12753036437246965, 'fraction_numerical': 0.0, 'mean_word_length': 3.541284403669725, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5644292', 'n_tokens_mistral': 139, 'n_tokens_neox': 139, 'n_words': 55}