Prereleases in meta header should be displayed as p (#1381)
This commit is contained in:
committed by
GitHub
parent
b0769bec11
commit
618b244473
@ -26,7 +26,10 @@ const intoStream = require('into-stream')
|
||||
const { Client, ConnectionPool, Transport, Connection, errors } = require('../../index')
|
||||
const { CloudConnectionPool } = require('../../lib/pool')
|
||||
const { buildServer } = require('../utils')
|
||||
const clientVersion = require('../../package.json').version
|
||||
let clientVersion = require('../../package.json').version
|
||||
if (clientVersion.includes('-')) {
|
||||
clientVersion = clientVersion.slice(0, clientVersion.indexOf('-')) + 'p'
|
||||
}
|
||||
const nodeVersion = process.versions.node
|
||||
|
||||
test('Configure host', t => {
|
||||
|
||||
Reference in New Issue
Block a user