mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
Pass additional options with run-package-specs message
This commit is contained in:
@@ -310,7 +310,7 @@ class WorkspaceElement extends HTMLElement {
|
||||
}
|
||||
}
|
||||
|
||||
runPackageSpecs () {
|
||||
runPackageSpecs (options = {}) {
|
||||
const activePaneItem = this.model.getActivePaneItem()
|
||||
const activePath = activePaneItem && typeof activePaneItem.getPath === 'function' ? activePaneItem.getPath() : null
|
||||
let projectPath
|
||||
@@ -326,7 +326,7 @@ class WorkspaceElement extends HTMLElement {
|
||||
specPath = testPath
|
||||
}
|
||||
|
||||
ipcRenderer.send('run-package-specs', specPath)
|
||||
ipcRenderer.send('run-package-specs', specPath, options)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user