foam-habits 1.0.0 → 1.0.4
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/cli.js +0 -0
- package/dist/lib/config.js +5 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/lib/config.js
CHANGED
|
@@ -31,12 +31,11 @@ export function loadConfig(configPath) {
|
|
|
31
31
|
throw new ConfigError('Could not find .foam/habits.yaml\n\n' +
|
|
32
32
|
'Create a config file at .foam/habits.yaml with your habits:\n\n' +
|
|
33
33
|
' habits:\n' +
|
|
34
|
-
'
|
|
35
|
-
' emoji:
|
|
36
|
-
' water:\n' +
|
|
37
|
-
' emoji:
|
|
38
|
-
' goal:
|
|
39
|
-
' unit: "L"\n');
|
|
34
|
+
' Gym:\n' +
|
|
35
|
+
' emoji: 💪\n' +
|
|
36
|
+
' Drink water:\n' +
|
|
37
|
+
' emoji: 💧\n' +
|
|
38
|
+
' goal: 3L\n');
|
|
40
39
|
}
|
|
41
40
|
if (!fs.existsSync(resolvedPath)) {
|
|
42
41
|
throw new ConfigError(`Config file not found: ${resolvedPath}`);
|