🎨 Fix typo
This commit is contained in:
parent
a6c5204b50
commit
9a8a85bd59
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export default function verifyPatch(fileEntries: ISsnFileEntry[], product: Produ
|
||||||
const validLastFileAlternate = `Assets/${product}_version.txt`;
|
const validLastFileAlternate = `Assets/${product}_version.txt`;
|
||||||
if (lastFile.name === validLastFileName) {
|
if (lastFile.name === validLastFileName) {
|
||||||
if (lastFile.diffType !== SsnDiffType.NewFile) {
|
if (lastFile.diffType !== SsnDiffType.NewFile) {
|
||||||
throw new Error(`Last file (.version file) must have diffType 0but it had diffType ${lastFile.diffType}.`);
|
throw new Error(`Last file (.version file) must have diffType 0 but it had diffType ${lastFile.diffType}.`);
|
||||||
}
|
}
|
||||||
} else if (lastFile.name === validLastFileAlternate) {
|
} else if (lastFile.name === validLastFileAlternate) {
|
||||||
//In some early patches, the last file is *_version.txt and the second to last is *.version
|
//In some early patches, the last file is *_version.txt and the second to last is *.version
|
||||||
|
|
Loading…
Reference in a new issue