mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-15 21:29:27 +00:00
fixed issue when checking if a sketch is temp
convert all windows drive letters to lower case. [ATL-380] Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -3,3 +3,7 @@ export const naturalCompare: (left: string, right: string) => number = require('
|
||||
export function notEmpty(arg: string | undefined | null): arg is string {
|
||||
return !!arg;
|
||||
}
|
||||
|
||||
export function firstToLowerCase(what: string): string {
|
||||
return what.charAt(0).toLowerCase() + what.slice(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user