1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 17:56:20 +00:00
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

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