mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
refactor(javascript): own property capture translation
This commit is contained in:
1 parent
adfde012ec
commit
247c8f4eab
5 files changed
+42
-34
No files matched your search
@@ -33,6 +33,10 @@ it.each([
|
||||
'const { app } = require("electron"); const runtime = app; runtime.setAppPath("./other");',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'const { app } = require("electron"); const copy = { ...{ app } }; copy.app.setAppPath("./other");',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'const { app } = require("electron"); const change = app.setAppPath; change("./other");',
|
||||
true,
|
||||
|
||||
Reference in new issue
Block a user