buzzk 2.3.2 → 2.3.3

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/lib/vm.js +4 -2
  2. package/package.json +1 -1
package/lib/vm.js CHANGED
@@ -7,8 +7,10 @@ function getVersion () {
7
7
 
8
8
  async function check () {
9
9
  let localPkg = require("../package.json");
10
- let remotePkg = await axios.get("https://raw.githubusercontent.com/Emin-G/buzzk/master/package.json");
11
- if (remotePkg.status != 200) return console.log("[BUZZK] 최신 버전에 대한 정보를 불러오지 못했습니다.");
10
+ let remotePkg = await axios.get("https://raw.githubusercontent.com/Emin-G/buzzk/master/package.json").catch((error) => {
11
+ return;
12
+ });
13
+ if (!remotePkg || remotePkg.status != 200) return console.log("[BUZZK] 최신 버전에 대한 정보를 불러오지 못했습니다.");
12
14
 
13
15
  remotePkg = remotePkg.data;
14
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzk",
3
3
  "displayName": "BUZZK",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "description": "뿌지직 (BUZZK) - 치지직(CHZZK) 챗봇을 더욱 쉽게 개발할 수 있도록 돕는 비공식 라이브러리.",
6
6
  "main": "lib/index.js",
7
7
  "type": "commonjs",