Index: tools/publish_pkg.py |
diff --git a/tools/publish_pkg.py b/tools/publish_pkg.py |
index d1629c9ea88841d86e727829d11837c6f8e48fd0..1c4cb59c32d21b13fdc4e8239ee88ce9b3ee182a 100755 |
--- a/tools/publish_pkg.py |
+++ b/tools/publish_pkg.py |
@@ -160,12 +160,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
'''); |
- # TODO(jmesserly): this is a hack to make analyzer-experimental work. |
- if pkgName.endswith('-experimental'): |
- pkgReplace = (pkgName, pkgName.replace('-', '_')) |
- replaceInDart.append(pkgReplace) |
- replaceInPubspec.append(pkgReplace) |
- |
replaceInDart.append( |
(r'(import|part)(\s+)(\'|")(\.\./)+pkg/([^/]+/)lib/', r'\1\2\3package:\5')) |