@verdnatura/myt 1.5.11 → 1.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/myt-dump.js +1 -1
- package/myt-push.js +6 -2
- package/package.json +1 -1
package/myt-dump.js
CHANGED
package/myt-push.js
CHANGED
|
@@ -146,12 +146,16 @@ class Push extends Command {
|
|
|
146
146
|
return /\.undo\.sql$/.test(script);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
const skipFiles = new Set([
|
|
150
|
+
'README.md',
|
|
151
|
+
'.archive'
|
|
152
|
+
]);
|
|
153
|
+
|
|
149
154
|
if (await fs.pathExists(versionsDir)) {
|
|
150
155
|
const versionDirs = await fs.readdir(versionsDir);
|
|
151
156
|
|
|
152
157
|
for (const versionDir of versionDirs) {
|
|
153
|
-
if (versionDir
|
|
154
|
-
continue;
|
|
158
|
+
if (skipFiles.has(versionDir)) continue;
|
|
155
159
|
|
|
156
160
|
const dirVersion = myt.parseVersionDir(versionDir);
|
|
157
161
|
if (!dirVersion) {
|