desktop: more double to single quotes

This commit is contained in:
Chris Breiding
2017-06-21 09:34:49 -04:00
parent 86aad35d07
commit de5c504b0f
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ const removeMsgById = (id) => {
}
const createIpc = () => {
console.warn("Missing 'ipc'. Polyfilling in development mode.") // eslint-disable-line no-console
console.warn('Missing "ipc". Polyfilling in development mode.') // eslint-disable-line no-console
return {
on () {},
send () {},
@@ -28,7 +28,7 @@ const createIpc = () => {
const ipc = window.ipc != null ? window.ipc : (window.ipc = createIpc())
ipc.on("response", (event, obj = {}) => {
ipc.on('response', (event, obj = {}) => {
const { id, __error, data } = obj
const msg = msgs[id]
@@ -89,7 +89,7 @@ const ipcBus = (...args) => {
}
// pass in request, id, and remaining args
ipc.send(...["request", id].concat(args))
ipc.send(...['request', id].concat(args))
return fn()
}
+1 -1
View File
@@ -19,7 +19,7 @@ export class RunsStore {
@action setRuns (runs) {
this.runs = _.map(runs, (run) => new Run(run))
this.lastUpdated = moment().format("h:mm:ssa")
this.lastUpdated = moment().format('h:mm:ssa')
this.error = null
this.isLoading = false
this.isLoaded = true
@@ -53,7 +53,7 @@ class Updater {
result = 'An error occurred updating: \nYou can manually update Cypress by running \'cypress install\' from your terminal or by downloading it again.'
break
default:
result = ""
result = ''
}
return result
@@ -70,12 +70,12 @@ class Updater {
openUpdateWindow () {
return ipc.windowOpen({
position: "center",
position: 'center',
width: 300,
height: 240,
toolbar: false,
title: "Updates",
type: "UPDATES",
title: 'Updates',
type: 'UPDATES',
})
}
}