13 lines
312 B
Plaintext
13 lines
312 B
Plaintext
// SPDX-License-Identifier: MIT
|
|
|
|
the short-form ID above is correct, and should be picked up.
|
|
|
|
the following code is talking about IDs, and should be ignored
|
|
|
|
if file.contains("SPDX-License-Identifier: GPL-2.0") {
|
|
// do something...
|
|
|
|
}
|
|
|
|
We don't want to pick up that line as the short-form ID for this file.
|