relaxing assert
This commit is contained in:
Родитель
d723f4107f
Коммит
8c7f1a8246
|
@ -810,7 +810,7 @@ module TDev {
|
|||
// This is mandatory: since [setInstalledAsync] uses the
|
||||
// [scriptText] to save data, there's no way we can switch to a
|
||||
// different name at this stage.
|
||||
Util.assert(meta.name == stub.scriptName);
|
||||
Util.assert(meta.name.trim() == stub.scriptName.trim());
|
||||
// For compatibility with old cloud entries, we now switch to
|
||||
// the semantics "falsy [editor] field for [Cloud.Header] means
|
||||
// TouchDevelop editor".
|
||||
|
|
Загрузка…
Ссылка в новой задаче