@maiyunnet/kebab 9.3.8 → 9.3.9
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/doc/kebab-rag.md +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/sys/master.js +4 -4
package/doc/kebab-rag.md
CHANGED
|
@@ -1360,7 +1360,7 @@ index/variables/VER.md
|
|
|
1360
1360
|
|
|
1361
1361
|
# Variable: VER
|
|
1362
1362
|
|
|
1363
|
-
> `const` **VER**: `"9.3.
|
|
1363
|
+
> `const` **VER**: `"9.3.9"` = `'9.3.9'`
|
|
1364
1364
|
|
|
1365
1365
|
Defined in: [index.ts:10](https://github.com/maiyunnet/kebab/blob/master/index.ts#L10)
|
|
1366
1366
|
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* --- 本文件用来定义每个目录实体地址的常量 ---
|
|
7
7
|
*/
|
|
8
8
|
/** --- 当前系统版本号 --- */
|
|
9
|
-
export const VER = '9.3.
|
|
9
|
+
export const VER = '9.3.9';
|
|
10
10
|
// --- 服务端用的路径 ---
|
|
11
11
|
const imu = decodeURIComponent(import.meta.url).replace('file://', '').replace(/^\/(\w:)/, '$1');
|
|
12
12
|
/** --- /xxx/xxx --- */
|
package/package.json
CHANGED
package/sys/master.js
CHANGED
|
@@ -230,7 +230,7 @@ function createRpcListener() {
|
|
|
230
230
|
to += '/';
|
|
231
231
|
}
|
|
232
232
|
if (!await lFs.isDir(to)) {
|
|
233
|
-
res.end('Path not found: ' + to);
|
|
233
|
+
res.end('[project] Path not found: ' + to);
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
236
|
const projectFile = to + 'kebab.json';
|
|
@@ -303,7 +303,7 @@ function createRpcListener() {
|
|
|
303
303
|
}
|
|
304
304
|
if (!await lFs.isDir(to)) {
|
|
305
305
|
if (rtn.post['strict'] === '1') {
|
|
306
|
-
res.end('Path not found:
|
|
306
|
+
res.end(`[code][0] [${rtn.post['strict']}] Path not found: ${to}`);
|
|
307
307
|
await sRoute.unlinkUploadFiles(rtn.files);
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
@@ -438,7 +438,7 @@ function createRpcListener() {
|
|
|
438
438
|
// --- 看文件夹是否存在 ---
|
|
439
439
|
if (pat && !await lFs.isDir(to + pat)) {
|
|
440
440
|
if (rtn.post['strict'] === '1') {
|
|
441
|
-
res.end('Path not found:
|
|
441
|
+
res.end(`[code][1] [${rtn.post['strict']}] Path not found: ${to + pat}`);
|
|
442
442
|
await sRoute.unlinkUploadFiles(rtn.files);
|
|
443
443
|
return;
|
|
444
444
|
}
|
|
@@ -446,7 +446,7 @@ function createRpcListener() {
|
|
|
446
446
|
}
|
|
447
447
|
// --- 覆盖或创建文件 ---
|
|
448
448
|
if ((rtn.post['strict'] === '1') && !await lFs.isFile(to + pat + fname)) {
|
|
449
|
-
res.end('Path not found:
|
|
449
|
+
res.end(`[code][2] [${rtn.post['strict']}] Path not found: ${to + pat + fname}`);
|
|
450
450
|
await sRoute.unlinkUploadFiles(rtn.files);
|
|
451
451
|
return;
|
|
452
452
|
}
|