@gallop.software/studio 2.3.167 → 2.3.168

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.
@@ -5042,7 +5042,6 @@ async function handleFontsRenameStream(request) {
5042
5042
  };
5043
5043
  try {
5044
5044
  send({ status: "progress", message: `Renaming folder to ${newFolderName}...`, current: 0, total: 1 });
5045
- await new Promise((resolve2) => setTimeout(resolve2, 1e3));
5046
5045
  await fs12.rename(oldFullPath, newFullPath);
5047
5046
  if (isDirectory) {
5048
5047
  const entries = await fs12.readdir(newFullPath);
@@ -5057,7 +5056,6 @@ async function handleFontsRenameStream(request) {
5057
5056
  const suffix = entry.substring(oldFolderName.length);
5058
5057
  const newFileName = newFolderName + suffix.toLowerCase();
5059
5058
  send({ status: "progress", message: `Renaming ${entry} \u2192 ${newFileName}...`, current: renamed + 1, total: filesToRename.length });
5060
- await new Promise((resolve2) => setTimeout(resolve2, 1e3));
5061
5059
  const oldFilePath = path11.join(newFullPath, entry);
5062
5060
  const newFilePath = path11.join(newFullPath, newFileName);
5063
5061
  await fs12.rename(oldFilePath, newFilePath);
@@ -5241,7 +5239,6 @@ async function handleFontsAssign(request) {
5241
5239
  const baseName = path11.basename(ttfFile, ".ttf");
5242
5240
  const woff2Name = baseName + ".woff2";
5243
5241
  send({ status: "progress", message: `Compressing ${ttfFile}...`, current: i + 1, total: ttfFiles.length, currentFile: ttfFile });
5244
- await new Promise((resolve2) => setTimeout(resolve2, 1e3));
5245
5242
  try {
5246
5243
  const ttfPath = path11.join(folderPath, ttfFile);
5247
5244
  const input = readFileSync(ttfPath);
@@ -5276,7 +5273,6 @@ async function handleFontsAssign(request) {
5276
5273
  for (let i = 0; i < assignments.length; i++) {
5277
5274
  const assignmentName = assignments[i];
5278
5275
  send({ status: "progress", message: `Writing ${assignmentName}.ts...`, current: i + 1, total: assignments.length });
5279
- await new Promise((resolve2) => setTimeout(resolve2, 1e3));
5280
5276
  try {
5281
5277
  const fileName = `${assignmentName}.ts`;
5282
5278
  const filePath = path11.join(srcFontsPath, fileName);