db: Removed unused latestVersion
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
46386a13b3
commit
a5239d0c27
3 changed files with 0 additions and 4 deletions
|
@ -89,7 +89,6 @@ export default function GetDB(config, log, orgFilename = 'db.json') {
|
|||
defaults(db.data.core[name], {
|
||||
active: '',
|
||||
latestInstalled: '',
|
||||
latestVersion: '',
|
||||
updater: '',
|
||||
versions: [],
|
||||
})
|
||||
|
|
|
@ -42,7 +42,6 @@ t.describe('constructor()', function() {
|
|||
assert.ok(ctx.db.data.core.test.versions)
|
||||
assert.strictEqual(ctx.db.data.core.test.active, '')
|
||||
assert.strictEqual(ctx.db.data.core.test.latestInstalled, '')
|
||||
assert.strictEqual(ctx.db.data.core.test.latestVersion, '')
|
||||
})
|
||||
|
||||
t.test('should keep config and other of itself', function() {
|
||||
|
|
|
@ -150,7 +150,6 @@ t.test('Should support adding an application with defaults', async function() {
|
|||
assert.ok(db.data.core.app.versions)
|
||||
assert.strictEqual(db.data.core.app.active, '')
|
||||
assert.strictEqual(db.data.core.app.latestInstalled, '')
|
||||
assert.strictEqual(db.data.core.app.latestVersion, '')
|
||||
|
||||
assert.notOk(db.data.core.herpderp)
|
||||
|
||||
|
@ -160,7 +159,6 @@ t.test('Should support adding an application with defaults', async function() {
|
|||
assert.ok(db.data.core.herpderp.versions)
|
||||
assert.strictEqual(db.data.core.herpderp.active, '')
|
||||
assert.strictEqual(db.data.core.herpderp.latestInstalled, '')
|
||||
assert.strictEqual(db.data.core.herpderp.latestVersion, '')
|
||||
})
|
||||
|
||||
t.test('Should support reading from db', async function() {
|
||||
|
|
Loading…
Reference in a new issue