mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 06:46:36 +00:00
Fixed arduino-cli ctag compile issue
This commit is contained in:
parent
583202eb17
commit
6722eb7089
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -76,11 +76,10 @@ export class CoreServiceImpl implements CoreService {
|
|||||||
|
|
||||||
console.log('upload', options);
|
console.log('upload', options);
|
||||||
const { uri } = options;
|
const { uri } = options;
|
||||||
const sketchFilePath = await this.fileSystem.getFsPath(options.uri);
|
const sketchpath = await this.fileSystem.getFsPath(options.uri);
|
||||||
if (!sketchFilePath) {
|
if (!sketchpath) {
|
||||||
throw new Error(`Cannot resolve filesystem path for URI: ${uri}.`);
|
throw new Error(`Cannot resolve filesystem path for URI: ${uri}.`);
|
||||||
}
|
}
|
||||||
const sketchpath = path.dirname(sketchFilePath);
|
|
||||||
|
|
||||||
const currentBoard = await this.boardsService.getSelectBoard();
|
const currentBoard = await this.boardsService.getSelectBoard();
|
||||||
if (!currentBoard) {
|
if (!currentBoard) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user