From fa0cf9c9fddb351c8af617112e4667e7d4c9bd5f Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 18 Jul 2020 15:02:25 +0300 Subject: [PATCH] cleanup --- js/lang.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/lang.js b/js/lang.js index dc09c74f01..37c12d0ab0 100644 --- a/js/lang.js +++ b/js/lang.js @@ -31,11 +31,6 @@ const nodePath = require('path'); const PO = require('pofile'); const os = require('os'); -if (process.argv.length < 2) { - throw new Error('No dir argument passed'); -} - - /** * Builds language files from a PO file. */