Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi1osof committed Nov 25, 2018
1 parent 5ff4602 commit 6fd8c65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.3.1
===============================
- Fix create project name

1.3.0
===============================
- Added import Teams
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@modxclub/import-old-site",
"description": "Importer for modxclub.ru",
"version": "1.3.0",
"version": "1.3.1",
"main": "src/",
"files": [
"src"
Expand Down
2 changes: 2 additions & 0 deletions src/modules/processor/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,8 @@ export default class ImportProcessor extends PrismaProcessor {

uri = this.prepareUri(uri);

name = longtitle && longtitle.trim() || name;

name = name.trim().replace(/^\/|\/$/g, '');

let url = name;
Expand Down

0 comments on commit 6fd8c65

Please sign in to comment.