Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): Allow empty string as null values in the make-cog cli. #2504

Merged
merged 6 commits into from
Sep 16, 2022

Conversation

Wentao-Kuang
Copy link
Contributor

No description provided.

@Wentao-Kuang Wentao-Kuang requested a review from a team as a code owner September 15, 2022 22:00
@lgtm-com
Copy link

lgtm-com bot commented Sep 16, 2022

This pull request introduces 1 alert when merging ef23dac into a2ac1ee - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

let tileMatrixSets: string[] = [];
const tileMatrix = this.tileMatrix.value;
if (tileMatrix == null) throw new Error('Please provide valid tile set matrix.');
if (tileMatrix.includes('/')) tileMatrixSets = tileMatrixSets.concat(tileMatrix.split(','));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split "," ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good pick. Updated.

@kodiakhq kodiakhq bot merged commit 05aadd7 into master Sep 16, 2022
@kodiakhq kodiakhq bot deleted the bug/import-cli-improve branch September 16, 2022 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants