pinokiod 3.3.7 → 3.3.8
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/kernel/api/fs/index.js +2 -1
- package/package.json +1 -1
package/kernel/api/fs/index.js
CHANGED
|
@@ -280,7 +280,8 @@ class FS {
|
|
|
280
280
|
} else if (res[name].vcs_info) {
|
|
281
281
|
let info = res[name].vcs_info
|
|
282
282
|
log(["> VCS: ", { url, info }], ondata)
|
|
283
|
-
|
|
283
|
+
let id = info.commit_id || info.requested_revision
|
|
284
|
+
namespace = `${name}/${version}-${info.vcs}-${id.slice(0, 4)}`
|
|
284
285
|
} else if (res[name].dir_info) {
|
|
285
286
|
let info = res[name].dir_info
|
|
286
287
|
log(["> Directory: ", { url, info }], ondata)
|