<commit_before>@echo off

:: http://stackoverflow.com/questions/12322308/batch-file-to-check-64bit-or-32bit-os
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set ARCH=x86 || set ARCH=x64

set NODE_PATH="%~dp0\bin\node\node-win32-%ARCH%.exe"

@IF NOT EXIST %NODE_PATH% (
	set NODE_PATH="node.exe"
)

%NODE_PATH% "%~dp0\..\lib\resin.js" %*<commit_msg>Fix node Windows absolute path<commit_after>@echo off

:: http://stackoverflow.com/questions/12322308/batch-file-to-check-64bit-or-32bit-os
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set ARCH=x86 || set ARCH=x64

set NODE_PATH="%~dp0\node\node-win32-%ARCH%.exe"

@IF NOT EXIST %NODE_PATH% (
	set NODE_PATH="node.exe"
)

%NODE_PATH% "%~dp0\..\lib\resin.js" %*
{'fraction_non_alphanumeric': 0.18490566037735848, 'fraction_numerical': 0.05786163522012579, 'mean_word_length': 4.685714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '708626', 'n_tokens_mistral': 361, 'n_tokens_neox': 330, 'n_words': 52}