mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-10-26 11:08:40 +03:00
Fix CI validation trying to check for a file that has been deleted
This commit is contained in:
parent
cac042b3c0
commit
52e2efd0a6
@ -62,6 +62,11 @@ if (wasmFilesChanged.length === 0) {
|
||||
// are also accompanied by a change in the `parserSource` key
|
||||
|
||||
for (const wasmFile of wasmFilesChanged) {
|
||||
// Ignore files that have been deleted or moved.
|
||||
if (!fs.existsSync(wasmFile)) {
|
||||
console.log(`Skipping file that no longer exists: ${wasmFile}`);
|
||||
continue;
|
||||
}
|
||||
const wasmPath = path.dirname(wasmFile);
|
||||
|
||||
// Don't check the base `tree-sitter.wasm` file.
|
||||
|
Loading…
Reference in New Issue
Block a user