@enplug/scripts 1.11.4-dev42 → 1.11.4-dev43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -153,7 +153,7 @@ function postFileToCrowdin(credentials, localPath) {
|
|
|
153
153
|
} }));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
async function uploadFileToCrowdinStorage(credentials,
|
|
156
|
+
async function uploadFileToCrowdinStorage(credentials, localPath) {
|
|
157
157
|
if (!fs.existsSync(localPath)) {
|
|
158
158
|
console.error(`${chalk.red.bold('Local file does not exists')} ${chalk.yellow.bold(`[${localPath}]`)}`);
|
|
159
159
|
throw new Error('Local file does not exist');
|