@przeprogramowani/10x-cli 1.9.0 → 1.10.0
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/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2271,7 +2271,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
2271
2271
|
// package.json
|
|
2272
2272
|
var package_default = {
|
|
2273
2273
|
name: "@przeprogramowani/10x-cli",
|
|
2274
|
-
version: "1.
|
|
2274
|
+
version: "1.10.0",
|
|
2275
2275
|
description: "Open-source CLI for 10xDevs course content",
|
|
2276
2276
|
repository: {
|
|
2277
2277
|
type: "git",
|
|
@@ -4204,7 +4204,7 @@ function parseLessonRef(raw) {
|
|
|
4204
4204
|
return null;
|
|
4205
4205
|
if (module < MIN_MODULE || module > MAX_MODULE)
|
|
4206
4206
|
return null;
|
|
4207
|
-
if (lesson <
|
|
4207
|
+
if (lesson < 0)
|
|
4208
4208
|
return null;
|
|
4209
4209
|
return { lessonId: `m${module}l${lesson}`, module, lesson };
|
|
4210
4210
|
}
|