mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
10 lines
238 B
TypeScript
10 lines
238 B
TypeScript
|
|
||
|
import { join, dirname } from 'path';
|
||
|
|
||
|
const getPathToPatchFileFor = (pluginName: string) => {
|
||
|
const rootDir = dirname(__dirname);
|
||
|
return join(rootDir, 'plugin-patches', `${pluginName}.diff`);
|
||
|
};
|
||
|
|
||
|
export default getPathToPatchFileFor;
|