diff --git a/lib/snippets/copyright/copyright_generator.ts b/lib/snippets/copyright/copyright_generator.ts index 11c3b3b..87a1318 100644 --- a/lib/snippets/copyright/copyright_generator.ts +++ b/lib/snippets/copyright/copyright_generator.ts @@ -12,22 +12,22 @@ export class CopyrightGenerator { if (opt.has_license) { notice = `${'/*'} - * Copyright (C) ${opt.company || opt.author} - All Rights Reserved - * This file is part of ${opt.software} which is released under ${ + * Copyright (C) ${opt.company || opt.author} - All Rights Reserved + * This file is part of ${opt.software} which is released under ${ opt.license}. - * See file 'LICENSE' for full license details. - * Created by ${opt.author} <${opt.email}>, ${month} ${year} - */ - - `; + * See file 'LICENSE' for full license details. + * Created by ${opt.author} <${opt.email}>, ${month} ${year} + */ + +`; } else { notice = `${'/*'} - * Copyright (C) ${opt.company || opt.author} - All Rights Reserved - * Created by ${opt.author} <${opt.email}>, ${month} ${year} - */ - - `; + * Copyright (C) ${opt.company || opt.author} - All Rights Reserved + * Created by ${opt.author} <${opt.email}>, ${month} ${year} + */ + +`; } return notice; }