This commit is contained in:
bgamard 2021-01-25 21:27:22 +01:00
parent 57b67fee09
commit ee6ed2bf0b
8 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.9-SNAPSHOT</version>
<version>1.9</version>
<relativePath>..</relativePath>
</parent>

View File

@ -24,7 +24,7 @@ const prefs = new preferences('com.sismics.docs.importer',{
});
// Welcome message
console.log('Teedy Importer 1.8, https://teedy.io' +
console.log('Teedy Importer 1.9, https://teedy.io' +
'\n\n' +
'This program let you import files from your system to Teedy' +
'\n');
@ -365,7 +365,7 @@ const start = () => {
const importFiles = (remove, filesImported) => {
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) {
filesImported();
return;

View File

@ -1,6 +1,6 @@
{
"name": "teedy-importer",
"version": "1.8.0",
"version": "1.9.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "teedy-importer",
"version": "1.8.0",
"version": "1.9.0",
"description": "Import files to Teedy",
"bin": "main.js",
"scripts": {

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.9-SNAPSHOT</version>
<version>1.9</version>
<relativePath>..</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.9-SNAPSHOT</version>
<version>1.9</version>
<relativePath>..</relativePath>
</parent>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<version>1.9-SNAPSHOT</version>
<version>1.9</version>
<relativePath>..</relativePath>
</parent>

View File

@ -6,7 +6,7 @@
<groupId>com.sismics.docs</groupId>
<artifactId>docs-parent</artifactId>
<packaging>pom</packaging>
<version>1.9-SNAPSHOT</version>
<version>1.9</version>
<name>Docs Parent</name>