mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 03:13:48 +01:00
v1.9
This commit is contained in:
parent
57b67fee09
commit
ee6ed2bf0b
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.9-SNAPSHOT</version>
|
<version>1.9</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ const prefs = new preferences('com.sismics.docs.importer',{
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Welcome message
|
// Welcome message
|
||||||
console.log('Teedy Importer 1.8, https://teedy.io' +
|
console.log('Teedy Importer 1.9, https://teedy.io' +
|
||||||
'\n\n' +
|
'\n\n' +
|
||||||
'This program let you import files from your system to Teedy' +
|
'This program let you import files from your system to Teedy' +
|
||||||
'\n');
|
'\n');
|
||||||
@ -365,7 +365,7 @@ const start = () => {
|
|||||||
const importFiles = (remove, filesImported) => {
|
const importFiles = (remove, filesImported) => {
|
||||||
recursive(prefs.importer.path, function (error, files) {
|
recursive(prefs.importer.path, function (error, files) {
|
||||||
|
|
||||||
files = files.filter(minimatch.filter(prefs.importer.fileFilter ?? "*", {matchBase: true}));
|
files = files.filter(minimatch.filter(prefs.importer.fileFilter || '*', { matchBase: true }));
|
||||||
if (files.length === 0) {
|
if (files.length === 0) {
|
||||||
filesImported();
|
filesImported();
|
||||||
return;
|
return;
|
||||||
|
2
docs-importer/package-lock.json
generated
2
docs-importer/package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "teedy-importer",
|
"name": "teedy-importer",
|
||||||
"version": "1.8.0",
|
"version": "1.9.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "teedy-importer",
|
"name": "teedy-importer",
|
||||||
"version": "1.8.0",
|
"version": "1.9.0",
|
||||||
"description": "Import files to Teedy",
|
"description": "Import files to Teedy",
|
||||||
"bin": "main.js",
|
"bin": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.9-SNAPSHOT</version>
|
<version>1.9</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.9-SNAPSHOT</version>
|
<version>1.9</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<version>1.9-SNAPSHOT</version>
|
<version>1.9</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
<groupId>com.sismics.docs</groupId>
|
<groupId>com.sismics.docs</groupId>
|
||||||
<artifactId>docs-parent</artifactId>
|
<artifactId>docs-parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.9-SNAPSHOT</version>
|
<version>1.9</version>
|
||||||
|
|
||||||
<name>Docs Parent</name>
|
<name>Docs Parent</name>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user