codebuff 1.0.505 → 1.0.506
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -298,7 +298,8 @@ async function downloadBinary(version) {
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
async function ensureBinaryExists() {
|
|
301
|
-
|
|
301
|
+
const currentVersion = await getCurrentVersion()
|
|
302
|
+
if (currentVersion !== null && currentVersion !== 'error') {
|
|
302
303
|
return
|
|
303
304
|
}
|
|
304
305
|
|