mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-08 10:21:53 +00:00
lint
This commit is contained in:
@@ -180,8 +180,8 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let options = {
|
const options = {
|
||||||
...tab.profile.options
|
...tab.profile.options,
|
||||||
}
|
}
|
||||||
|
|
||||||
const cwd = await tab.session?.getWorkingDirectory() ?? tab.profile.options.cwd
|
const cwd = await tab.session?.getWorkingDirectory() ?? tab.profile.options.cwd
|
||||||
@@ -192,7 +192,7 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
|
|||||||
const profile: PartialProfile<Profile> = {
|
const profile: PartialProfile<Profile> = {
|
||||||
type: tab.profile.type,
|
type: tab.profile.type,
|
||||||
name,
|
name,
|
||||||
options
|
options,
|
||||||
}
|
}
|
||||||
|
|
||||||
profile.id = `${profile.type}:custom:${slugify(name)}:${uuidv4()}`
|
profile.id = `${profile.type}:custom:${slugify(name)}:${uuidv4()}`
|
||||||
|
Reference in New Issue
Block a user