hugo-bin-extended 0.134.0 → 0.134.2
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/lib/install.js +6 -6
- package/package.json +2 -3
package/lib/install.js
CHANGED
|
@@ -31,13 +31,13 @@ async function main() {
|
|
|
31
31
|
|
|
32
32
|
const bin = await hugoBin(projectRoot);
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
try {
|
|
35
|
+
await bin.run(['version']);
|
|
35
36
|
console.log('Hugo binary successfully installed!');
|
|
36
|
-
})
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
});
|
|
37
|
+
} catch (error) {
|
|
38
|
+
console.error('Hugo binary installation failed!');
|
|
39
|
+
throw new Error(error);
|
|
40
|
+
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
main();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hugo-bin-extended",
|
|
3
|
-
"version": "0.134.
|
|
4
|
-
"hugoVersion": "0.134.
|
|
3
|
+
"version": "0.134.2",
|
|
4
|
+
"hugoVersion": "0.134.2",
|
|
5
5
|
"description": "Binary wrapper for Hugo",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
"error",
|
|
87
87
|
"always"
|
|
88
88
|
],
|
|
89
|
-
"promise/prefer-await-to-then": "off",
|
|
90
89
|
"space-before-function-paren": [
|
|
91
90
|
"error",
|
|
92
91
|
"never"
|