Use main branch to simpyfy config
This commit is contained in:
@@ -12,7 +12,7 @@ if (!existsSync(local)) {
|
||||
cpSync(join(root, 'sample-content/uploads'), join(local, 'uploads'), { recursive: true });
|
||||
}
|
||||
if (!existsSync(join(local, '.git'))) {
|
||||
execFileSync('git', ['init', '--quiet', '--initial-branch=simple', local], { stdio: 'inherit' });
|
||||
execFileSync('git', ['init', '--quiet', '--initial-branch=main', local], { stdio: 'inherit' });
|
||||
}
|
||||
execFileSync(process.execPath, [join(root, 'scripts/content.mjs'), local], { stdio: 'inherit' });
|
||||
console.log(`In Sveltia, choose Work with Local Repository and select: ${local}`);
|
||||
|
||||
Reference in New Issue
Block a user