Skip to content

Commit 4a9cb80

Browse files
committed
make valid project names case insensitive
Signed-off-by: Luke-zhang-04 <luke.zhang2004dev@gmail.com>
1 parent 1e9c063 commit 4a9cb80

File tree

11 files changed

+18
-12
lines changed

11 files changed

+18
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.6] - 2021-03-19
8+
9+
### Fixed
10+
- Make valid project names case insensitive
11+
12+
713
## [2.0.5] - 2020-03-19
814

9-
### Fixes
15+
### Fixed
1016
- Handle paths with spaces better
1117

1218

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "processing-vscode",
33
"displayName": "Processing VSCode",
44
"description": "Processing Language Support for VSCode",
5-
"version": "2.0.5",
5+
"version": "2.0.6",
66
"publisher": "Luke-zhang-04",
77
"engines": {
88
"vscode": "^1.48.0"

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import typescript from "@rollup/plugin-typescript"
66

77
const banner = `/**
88
* processing-vscode - Processing Language Support for VSCode
9-
* @version 2.0.5
9+
* @version 2.0.6
1010
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
1111
* @preserve
1212
*/

src/commands/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/diagnostics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/documentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/getConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* processing-vscode - Processing Language Support for VSCode
3-
* @version 2.0.5
3+
* @version 2.0.6
44
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
55
*/
66

77
export const isValidProcessingProject = (path?: string): boolean =>
8-
path !== undefined && /^[\/_$a-z][\/\w$]*$/.test(path)
8+
path !== undefined && /^[\/_$a-z][\/\w$]*$/iu.test(path)

0 commit comments

Comments
 (0)