@dxtmisha/scripts 0.5.17 → 0.5.18

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/scripts",
3
3
  "private": false,
4
- "version": "0.5.17",
4
+ "version": "0.5.18",
5
5
  "type": "module",
6
6
  "description": "Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools",
7
7
  "keywords": [
@@ -238,15 +238,14 @@ export class PropertiesFile {
238
238
  * Преобразует путь для использования текущего разделителя ОС.
239
239
  * @param path path to the directory/ путь к директории
240
240
  */
241
- static toSep(path: PropertiesFilePath): PropertiesFilePath {
241
+ static toSep(path: string): PropertiesFilePath {
242
242
  const sep = this.sep()
243
243
 
244
244
  if (sep === '/') {
245
245
  return path
246
246
  }
247
247
 
248
- return this.joinPath(path)
249
- .replace('/', this.sep())
248
+ return path.replace('/', this.sep())
250
249
  }
251
250
 
252
251
  /**