@jpetit/toolkit 3.0.18 → 3.0.19

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/toolkit/make.ts +3 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jpetit/toolkit",
3
3
  "description": "Toolkit to prepare problems for Jutge.org",
4
- "version": "3.0.18",
4
+ "version": "3.0.19",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/toolkit/make.ts CHANGED
@@ -100,6 +100,9 @@ export const make = new Command('make')
100
100
  tui.title('Summary')
101
101
  await tui.section('', async () => {
102
102
  await nothing()
103
+ if (realDirectories.length === 0) {
104
+ tui.warning('No problem directories found')
105
+ }
103
106
  for (const directory of realDirectories) {
104
107
  tui.directory(directory)
105
108
  if (errors[directory]) {