Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "depsync", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"author": "Dom Chen", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/", |
@@ -36,3 +36,3 @@ <p align="left"> | ||
{ | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"vars": { | ||
@@ -57,8 +57,7 @@ "GIT_DOMAIN": "github.com", | ||
{ | ||
"url": "https://${GIT_DOMAIN}/libpag/tgfx.git", | ||
"commit": "2421ec829090ee61c245249405a4c079f9ecbc11", | ||
"url": "https://${GIT_DOMAIN}/Tencent/tgfx.git", | ||
"commit": "5948d72a0a5320a1ea055f23bc8312b07ab6d72c", | ||
"dir": "third_party/tgfx", | ||
"keeps": [ | ||
"third_party", | ||
"vendor_tools" | ||
"third_party" | ||
] | ||
@@ -65,0 +64,0 @@ } |
@@ -53,4 +53,9 @@ ////////////////////////////////////////////////////////////////////////////////////// | ||
let wasShallow = fs.existsSync(shallowFile); | ||
let fetchHeadFile = path.join(item.dir, ".git", "FETCH_HEAD"); | ||
let commit = Utils.readFile(fetchHeadFile).substr(0, 40); | ||
let commit = ""; | ||
if (wasShallow) { | ||
commit = Utils.readFile(shallowFile).substr(0, 40); | ||
} else { | ||
let fetchHeadFile = path.join(item.dir, ".git", "FETCH_HEAD"); | ||
commit = Utils.readFile(fetchHeadFile).substr(0, 40); | ||
} | ||
if (commit !== item.commit || wasShallow !== item.shallow) { | ||
@@ -57,0 +62,0 @@ tasks.push(new RepoTask(item)); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48909
1139
118