Skip to content

Commit 89ebe40

Browse files
authored
build: use correct license link in stackblitz (#34165)
Updates the Stackblitz templates to generate the correct license link.
1 parent 03cd41f commit 89ebe40

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/src/app/shared/stackblitz/stackblitz-writer.spec.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ describe('StackBlitzWriter', () => {
6565
6666
/** Copyright ${year} Google LLC. All Rights Reserved.
6767
Use of this source code is governed by an MIT-style license that
68-
can be found in the LICENSE file at https://angular.io/license */`);
68+
can be found in the LICENSE file at https://angular.dev/license */`);
6969

7070
expect(stackBlitzWriter._appendCopyright('test.html', 'NoContent')).toBe(`NoContent
7171
7272
<!-- Copyright ${year} Google LLC. All Rights Reserved.
7373
Use of this source code is governed by an MIT-style license that
74-
can be found in the LICENSE file at https://angular.io/license -->`);
74+
can be found in the LICENSE file at https://angular.dev/license -->`);
7575
});
7676

7777
it('should set tags for example stackblitz', async () => {
@@ -111,7 +111,7 @@ describe('StackBlitzWriter', () => {
111111
112112
/** Copyright ${new Date().getFullYear()} Google LLC. All Rights Reserved.
113113
Use of this source code is governed by an MIT-style license that
114-
can be found in the LICENSE file at https://angular.io/license */`,
114+
can be found in the LICENSE file at https://angular.dev/license */`,
115115
});
116116

117117
expect(openProjectSpy).toHaveBeenCalledTimes(1);

‎docs/src/app/shared/stackblitz/stackblitz-writer.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {normalizePath} from '../normalize-path';
1919

2020
const COPYRIGHT = `Copyright ${new Date().getFullYear()} Google LLC. All Rights Reserved.
2121
Use of this source code is governed by an MIT-style license that
22-
can be found in the LICENSE file at https://angular.io/license`;
22+
can be found in the LICENSE file at https://angular.dev/license`;
2323

2424
/**
2525
* Path that refers to the docs-content from the "@angular/components-examples" package. The

0 commit comments

Comments
 (0)