Skip to content

Commit 8b72bbb

Browse files
committed
typo; silence logstats in github action
1 parent 9f45701 commit 8b72bbb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

cypress/e2e/spec.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('The Editor', () => {
101101
cy.get('.squiggly-info').should('exist')
102102
})
103103

104-
it('displays and accetps quickfixes inline', () => {
104+
it('displays and accepts quickfixes inline', () => {
105105
const modBtn = Cypress.platform === 'darwin' ? 'Meta' : 'Control'
106106
cy.visit('/')
107107
cy.get('div.view-line').type('example (P: Prop) : P \\or \\not P := by apply?')
@@ -113,7 +113,7 @@ describe('The Editor', () => {
113113
cy.contains('div.view-line', 'exact Classical.em P').should('exist')
114114
})
115115

116-
it('displays and accetps suggestions from infoview', () => {
116+
it('displays and accepts suggestions from infoview', () => {
117117
cy.visit('/')
118118
cy.get('div.view-line').type('example (P: Prop) : P \\or \\not P := by apply?')
119119
cy.iframe().contains("span[title='Apply suggestion']", 'exact Classical.em P').click()

server/index.mjs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,17 @@ wss.addListener("connection", function(ws, req) {
140140
ws.on('close', () => {
141141
console.log(`[${new Date()}] Socket closed - ${ip}`)
142142
socketCounter -= 1
143-
logStats()
143+
if (!isGithubAction) {
144+
logStats()
145+
}
144146
})
145147

146148
socketConnection.onClose(() => serverConnection.dispose())
147149
serverConnection.onClose(() => socketConnection.dispose())
148150

149151
console.log(`[${new Date()}] Socket opened - ${ip}`)
150152
socketCounter += 1
151-
logStats()
152-
153+
if (!isGithubAction) {
154+
logStats()
155+
}
153156
})

0 commit comments

Comments
 (0)