Skip to content

Commit

Permalink
Avoid setting license on generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
nmetulev committed Jan 25, 2021
1 parent 4c52fa9 commit 234adee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function runSass() {

function setLicense() {
return gulp
.src(['packages/**/src/**/*.{ts,js,scss}'], { base: './' })
.src(['packages/**/src/**/*.{ts,js,scss}', "!packages/**/generated/**/*"], { base: './' })
.pipe(license(licenseStr))
.pipe(gulp.dest('./'));
}
Expand Down
7 changes: 0 additions & 7 deletions packages/mgt-react/src/generated/react.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,PersonViewType,AvatarSize,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components';
import { TemplateContext,ComponentMediaQuery } from '@microsoft/mgt-element';
import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';
Expand Down

0 comments on commit 234adee

Please sign in to comment.