8 lines
243 B
JavaScript
8 lines
243 B
JavaScript
'use strict'
|
|
|
|
const { deprecate } = require('electron')
|
|
|
|
deprecate.warn(`require('path')`, `remote.require('path')`)
|
|
|
|
const { getRemoteFor } = require('@electron/internal/renderer/remote')
|
|
module.exports = getRemoteFor('path').require('path')
|