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> <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>

View File

@ -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;

View File

@ -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": {

View File

@ -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": {

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>