1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Tools: Added tool to get the list of package licenses

This commit is contained in:
Laurent Cozic
2022-03-10 16:03:51 +00:00
parent dc60da219a
commit 50890a7b2b
4 changed files with 85 additions and 1 deletions

View File

@ -127,7 +127,7 @@ async function saveGitHubUsernameCache(cache: any) {
}
// Returns the project root dir
export const rootDir = require('path').dirname(require('path').dirname(__dirname));
export const rootDir: string = require('path').dirname(require('path').dirname(__dirname));
export function execCommand(command: string, options: any = null): Promise<string> {
options = options || {};